(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8625,788],{48548:function(n,e,t){"use strict";var r,i,o,a,c,s=t(67294);function l(){return(l=Object.assign?Object.assign.bind():function(n){for(var e=1;e1,children:[a.map(function(n){return(0,o.jsx)(U,{children:(0,o.jsx)(H.Z,{label:n,seller:c})},n)}),i]}):null}G.propTypes={className:b.string,style:(0,b.shape)({}),children:b.node,labels:(0,b.arrayOf)(b.string),sku:b.string.isRequired},G.defaultProps={className:void 0,style:void 0,children:void 0,labels:[]};var Q=(0,x.ZP)(G).withConfig({componentId:"sc-7f6f9fc-2"})($());function J(){var n=(0,h.Z)(["\n text-align: end;\n "]);return J=function(){return n},n}function K(){var n=(0,h.Z)(["\n overflow: hidden;\n margin: 0;\n color: var(--colors-neutral-neutral-500, #65657e);\n text-align: center;\n text-overflow: ellipsis;\n font-family: Arial;\n font-size: 12px;\n font-style: normal;\n font-weight: 700;\n line-height: 16px;\n letter-spacing: 0.24px;\n\n ","\n"]);return K=function(){return n},n}var Y=x.ZP.p.withConfig({componentId:"sc-611a0ebf-0"})(K(),j.BC.greaterThan("sm")(J())),nn=t(95523),ne=t(81767);function nt(){var n=(0,h.Z)(["\n grid-area: piecePrice;\n max-height: min-content;\n display: contents;\n"]);return nt=function(){return n},n}function nr(){var n=(0,h.Z)(["\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n justify-content: left;\n align-items: flex-start;\n flex-direction: column;\n"]);return nr=function(){return n},n}function ni(){var n=(0,h.Z)(["\n text-align: left;\n "]);return ni=function(){return n},n}function no(){var n=(0,h.Z)(["\n color: #8D8DA6;\n font-family: Work Sans;\n font-weight: 400;\n font-size: 9px;\n line-height: 16px;\n letter-spacing: 2%;\n text-align: center;\n margin-top: 0px;\n margin-bottom: 0px;\n\n ","\n"]);return no=function(){return n},n}function na(){var n=(0,h.Z)(["\n align-items: flex-start;\n flex-direction: column;\n "]);return na=function(){return n},n}function nc(){var n=(0,h.Z)(["\n display: flex; \n flex-direction: row;\n gap: 4px;\n\n ","\n"]);return nc=function(){return n},n}function ns(){var n=(0,h.Z)(['\n align-self: flex-start;\n border-radius: 4px;\n padding: 2px 4px;\n background-color: #d93175;\n font-family: Roboto;\n color: #ffffff;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n &:after {\n font-size: 12px;\n content: "% OFF";\n }\n']);return ns=function(){return n},n}function nl(){var n=(0,h.Z)(["\n font-size: 20px;\n margin-bottom: unset;\n "]);return nl=function(){return n},n}function nu(){var n=(0,h.Z)(["\n font-size: 22px;\n font-weight: 600;\n line-height: 100%;\n letter-spacing: 0%;\n margin: 0;\n font-family: Work Sans;\n\n ",";\n"]);return nu=function(){return n},n}var nd=x.ZP.div.withConfig({componentId:"sc-a7c3ac56-0"})(nt()),nf=x.ZP.div.withConfig({componentId:"sc-a7c3ac56-1"})(nr()),np=x.ZP.p.withConfig({componentId:"sc-a7c3ac56-2"})(no(),j.BC.lessThan("lg")(ni())),ng=x.ZP.div.withConfig({componentId:"sc-a7c3ac56-3"})(nc(),j.BC.lessThan("md")(na())),nm=x.ZP.span.withConfig({componentId:"sc-a7c3ac56-4"})(ns()),nh=x.ZP.span.withConfig({componentId:"sc-a7c3ac56-5"})(nu(),j.BC.lessThan("sm")(nl())),nx=function(n){var e=n.pricing,t=e.listPrice,r=e.salePrice,i=e.discount,a=n.netPricing,c=(0,nn.Z)();return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(nd,{"data-test-id":"product-price",children:[(0,o.jsxs)(nf,{children:[!!t&&!!i&&(0,o.jsx)(ng,{children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(z.Xf,{children:t}),i>=5&&(0,o.jsx)(nm,{"data-test-id":"discount-tag",children:i})]})}),(0,o.jsx)(nh,{children:r})]}),a&&0!==a&&c?(0,o.jsxs)("div",{children:[(0,o.jsx)(np,{children:ne.Q}),(0,o.jsx)(np,{children:a})]}):(0,o.jsxs)(np,{children:[ne.Q," ",a]})]})})};function nv(){var n=(0,h.Z)(["\n align-items: flex-start;\n "]);return nv=function(){return n},n}function nb(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n ","\n"]);return nb=function(){return n},n}function nZ(){var n=(0,h.Z)(["\n align-self: flex-end;\n"]);return nZ=function(){return n},n}function nw(){var n=(0,h.Z)(["\n grid-area: pieceTitle;\n margin: 0;\n text-align: left;\n line-height: 20px;\n height: min-content;\n font-family: Work Sans;\n font-weight: 400;\n font-size: 14px;\n letter-spacing: 0%;\n color: #242433;\n \n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"]);return nw=function(){return n},n}function ny(){var n=(0,h.Z)(["\n text-align: left;\n font-size: 12px;\n "]);return ny=function(){return n},n}function nC(){var n=(0,h.Z)(["\n font-family: Work Sans;\n font-size: 12px;\n font-weight: 400;\n line-height: 100%;\n letter-spacing: 0%;\n text-align: left;\n color: #666680;\n text-underline-position: from-font;\n text-decoration-skip-ink: none;\n width: -webkit-fill-available;\n text-overflow: ellipsis;\n margin: 0px;\n ","\n"]);return nC=function(){return n},n}function nj(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n gap: 4px;\n"]);return nj=function(){return n},n}nx.propTypes={pricing:(0,b.shape)({listPrice:b.string.isRequired,salePrice:b.string.isRequired,discount:b.number.isRequired}).isRequired};var nP=x.ZP.div.withConfig({componentId:"sc-49d6310f-0"})(nb(),j.BC.lessThan("sm")(nv())),nk=(0,x.ZP)(Y).withConfig({componentId:"sc-49d6310f-1"})(nZ()),nI=x.ZP.span.withConfig({componentId:"sc-49d6310f-2"})(nw()),nz=x.ZP.p.withConfig({componentId:"sc-49d6310f-3"})(nC(),j.BC.lessThan("sm")(ny())),nT=x.ZP.div.withConfig({componentId:"sc-49d6310f-4"})(nj());function nS(n){var e=n.className,t=n.loadEagerly,r=(n.variant,n.id),i=n.code,a=n.image,c=n.title,s=n.cockades,l=n.pricing,u=n.stockLabels,d=n.seller,f=n.sponsored;return(0,o.jsxs)(M,{"data-test-id":"product-layout",className:e,id:r,children:[(0,o.jsx)(_.ZP,{"data-test-id":"product-figure",loadEagerly:t,cockades:s,src:a,alt:c}),(0,o.jsxs)(nP,{children:[(0,o.jsxs)(nT,{children:[(0,o.jsx)(nI,{"data-test-id":"product-title",children:c}),(null==d?void 0:d.commercialName)&&(0,o.jsxs)(nz,{children:["Vendido por ",d.commercialName]})]}),(0,o.jsx)(nx,{pricing:l,netPricing:null==l?void 0:l.netPrice}),(0,o.jsx)(Q,{sku:i,labels:u,seller:d}),f?(0,o.jsx)(nk,{children:"Promocionado"}):null]})]})}function nB(){var n=(0,h.Z)(["",""]);return nB=function(){return n},n}nS.propTypes={className:b.string,loadEagerly:b.bool,variant:(0,b.oneOf)(["vertical","horizontal","responsive"]),id:b.string.isRequired,code:b.string,pricing:(0,b.shape)({listPrice:b.string.isRequired,salePrice:b.string.isRequired,discount:b.number.isRequired}).isRequired,image:b.string.isRequired,title:b.string.isRequired,cockades:(0,b.arrayOf)((0,b.shape)({image:b.string.isRequired,position:b.string.isRequired})),stockLabels:(0,b.arrayOf)(b.string),seller:(0,b.shape)({__typename:b.string,commercialName:b.string}),sponsored:b.bool},nS.defaultProps={className:void 0,loadEagerly:!1,variant:"vertical",cockades:[],stockLabels:[],code:"",seller:{},sponsored:!1};var nE=(0,x.ZP)(nS).withConfig({componentId:"sc-4b8a2b70-0"})(nB(),S._);function nO(){var n=(0,h.Z)(["\n margin-left: 20px;\n "]);return nO=function(){return n},n}function nA(){var n=(0,h.Z)(["\n white-space: nowrap;\n font-size: 14px;\n "]);return nA=function(){return n},n}function nR(){var n=(0,h.Z)(["\n position: relative;\n white-space: nowrap;\n line-height: .5;\n top: -1.2px;\n margin-left: auto;\n margin-right:0;\n\n ","\n\n ","\n \n"]);return nR=function(){return n},n}function nq(){var n=(0,h.Z)(["display: contents;"]);return nq=function(){return n},n}function nF(){var n=(0,h.Z)(["\n height: 217px;\n "]);return nF=function(){return n},n}function nN(){var n=(0,h.Z)(["\n height: 217px;\n "]);return nN=function(){return n},n}function nL(){var n=(0,h.Z)(["\n font-size: 13px;\n "]);return nL=function(){return n},n}function nD(){var n=(0,h.Z)(["\n font-size: 22px;\n "]);return nD=function(){return n},n}function nM(){var n=(0,h.Z)(["\n border-radius: 8px;\n padding: 16px;\n gap: 8px;\n\n "," {\n ","\n img {\n ","\n\n }\n }\n\n\n "," {\n font-size: 14px;\n }\n\n "," {\n font-size: 12px;\n }\n "," {\n font-size: 12px;\n\n :after {\n font-size: 12px;\n ","\n }\n }\n\n "," {\n font-size: 18px;\n ","\n }\n"]);return nM=function(){return n},n}function n_(){var n=(0,h.Z)(["\n &&& {\n padding-block-start: 8px;\n padding-block-end: 8px;\n }\n"]);return n_=function(){return n},n}function nH(){var n=(0,h.Z)(["\n flex: 0 0 30%;\n "]);return nH=function(){return n},n}function nX(){var n=(0,h.Z)(["\n flex: 0 0 20%;\n "]);return nX=function(){return n},n}function nW(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n padding: 0 4px;\n flex: 1 0 188px;\n\n ","\n\n ","\n\n && {\n scroll-snap-align: start;\n }\n &&:last-child {\n scroll-snap-align: end;\n }\n"]);return nW=function(){return n},n}function n$(){var n=(0,h.Z)(["\n flex: 0 0 19%;"]);return n$=function(){return n},n}function nV(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n padding: 0 6px;\n flex: 1 0 156px;\n\n ","\n\n && {\n scroll-snap-align: start;\n }\n &&:last-child {\n scroll-snap-align: end;\n }\n"]);return nV=function(){return n},n}function nU(){var n=(0,h.Z)([""]);return nU=function(){return n},n}function nG(){var n=(0,h.Z)([""]);return nG=function(){return n},n}(0,T.Z)((0,x.ZP)(k.u6).withConfig({componentId:"sc-ad8f202d-0"})(nR(),j.BC.greaterThan("xs")(nO()),j.BC.lessThan("xs")(nA())));var nQ=(0,T.Z)(x.ZP.a.withConfig({componentId:"sc-ad8f202d-1"})(nq())),nJ=(0,x.ZP)(nE).withConfig({componentId:"sc-ad8f202d-2"})(nM(),I.B1,j.BC.greaterThan("lg")(nF()),j.BC.greaterThan("lg")(nN()),I.gd,z.Xf,z.sz,j.BC.greaterThan("md")(nL()),z.GX,j.BC.greaterThan("md")(nD())),nK=(0,x.ZP)(C.cy).withConfig({componentId:"sc-ad8f202d-3"})(n_()),nY=(0,x.ZP)(C.qL).withConfig({componentId:"sc-ad8f202d-4"})(nW(),j.BC.greaterThan("sm")(nH()),j.BC.greaterThan("md")(nX())),n0=(0,x.ZP)(C.qL).withConfig({componentId:"sc-ad8f202d-5"})(nV(),j.BC.greaterThan("sm")(n$())),n1=(0,x.ZP)(P.U).attrs({type:"regular"}).withConfig({componentId:"sc-ad8f202d-6"})(nU()),n2=(0,x.ZP)(P.a).attrs({type:"regular"}).withConfig({componentId:"sc-ad8f202d-7"})(nG()),n4=t(569);function n5(){var n=(0,h.Z)(["\n font-size: 19px;\n margin-right:auto;\n margin-left: 4rem;\n "]);return n5=function(){return n},n}function n3(){var n=(0,h.Z)(["\n margin-right:0;\n margin-left: auto;\n top:-.7rem;\n "]);return n3=function(){return n},n}function n6(){var n=(0,h.Z)(["\n position:relative;\n display:flex;\n align-items:center;\n font-size: 41.6px;\n font-weight: ",";\n line-height: 1.88;\n letter-spacing: -1.9px;\n text-align: center;\n color: ",";\n\n ",";\n\n ","\n\n ","\n\n .date {\n position:relative;\n display:flex;\n flex-direction:row;\n flex-wrap:nowrap;\n align-items:center;\n\n /* &--hours{}\n &--minutes{}\n &--seconds{} */\n &--separator{\n /* top:-.25rem; */\n margin: 0 .2rem;\n }\n }\n"]);return n6=function(){return n},n}var n8=x.ZP.span.withConfig({componentId:"sc-aaedf16c-0"})(n6(),n4.rX,n4.dP,function(n){return n.eventColor&&"\n color: ".concat(n4.Ce,";\n ")},j.BC.lessThan("sm")(n5()),j.BC.lessThan("xs")(n3()));function n7(){var n=(0,h.Z)(["\n width: unset;\n "]);return n7=function(){return n},n}function n9(){var n=(0,h.Z)(["\n width: 100%;\n padding: 0 10px;\n ","\n\n display:flex;\n align-items: baseline;\n margin-block-end: 0.5rem;\n line-height: 1.23;\n\n"]);return n9=function(){return n},n}function en(){var n=(0,h.Z)(["\n max-width: 81%;\n "]);return en=function(){return n},n}function ee(){var n=(0,h.Z)(["\n flex: unset;\n font-size: 26px;\n "]);return ee=function(){return n},n}function et(){var n=(0,h.Z)(["\n ","\n\n font-size: 20px;\n font-weight: ",";\n line-height: 1.1;\n letter-spacing: -1px;\n color: #000000;\n\n ",";\n"]);return et=function(){return n},n}function er(){var n=(0,h.Z)(["\n flex-direction:row;\n justify-content: flex-start;\n align-items:center;\n margin-right:auto;\n margin-left:0;\n "]);return er=function(){return n},n}function ei(){var n=(0,h.Z)(["\n align-items: flex-end;\n margin-bottom:10px;\n "]);return ei=function(){return n},n}function eo(){var n=(0,h.Z)(["\n font-size: 45px;\n "]);return eo=function(){return n},n}function ea(){var n=(0,h.Z)(["\n padding:1rem 0;\n font-size: 35px;\n width:auto;\n "]);return ea=function(){return n},n}function ec(){var n=(0,h.Z)(["\n font-size: 35px;\n text-align:left;\n "]);return ec=function(){return n},n}function es(){var n=(0,h.Z)(["\n display:flex;\n justify-content:center;\n margin-left:0;\n "]);return es=function(){return n},n}function el(){var n=(0,h.Z)(["\n font-size: 19px;\n "]);return el=function(){return n},n}function eu(){var n=(0,h.Z)(["\n display:flex;\n margin-left:0;\n text-align: left;\n "]);return eu=function(){return n},n}function ed(){var n=(0,h.Z)(["\n display:flex;\n flex-direction:column;\n align-items:center;\n width:100%;\n\n ","\n \n ","\n\n h2 {\n width:100%;\n background-image: linear-gradient(129deg, #cd3685, #6a2a92);\n font-size: 62.4px;\n font-weight: ",";\n line-height: 1.1;\n letter-spacing: -1px;\n text-align: center;\n -webkit-background-clip: text;\n background-clip: text;\n -webkit-text-fill-color: transparent;\n\n ",";\n\n ","\n\n ","\n\n ","\n\n small {\n width:100%;\n background-image: linear-gradient(128deg, #cd3685, #6a2a92);\n margin-left:1rem;\n font-size: 0.385em;\n font-weight: ",";\n line-height: 1;\n letter-spacing: -0.8px;\n text-align: center;\n -webkit-background-clip: text;\n background-clip: text;\n -webkit-text-fill-color: transparent;\n\n ",";\n\n ","\n\n ","\n\n ","\n }\n }\n\n a {\n margin-top: 2.9rem;\n padding-left:2.0rem;\n padding-right:2.0rem;\n font-size: 16px;\n font-weight: 500;\n }\n\n "," {\n ",";\n }\n"]);return ed=function(){return n},n}var ef=x.ZP.div.withConfig({componentId:"sc-e5238172-0"})(n9(),j.BC.greaterThan("sm")(n7())),ep=x.ZP.span.withConfig({componentId:"sc-e5238172-1"})(et(),j.BC.lessThan("sm")(en()),n4.rX,j.BC.greaterThan("sm")(ee()));x.ZP.div.withConfig({componentId:"sc-e5238172-2"})(ed(),j.BC.lessThan("sm")(er()),j.BC.lessThan("xs")(ei()),n4.Pl,function(n){return n.eventColor&&"\n background-image: ".concat(n4._u,";\n font-weight: ").concat(n4.Pl,";\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n\n /* IE10 / IE11 Fix */\n @media all and (-ms-high-contrast:none) {\n background-image: none;\n color: ").concat(n4.Ce,";\n }\n ")},j.BC.lessThan("md")(eo()),j.BC.lessThan("sm")(ea()),j.BC.lessThan("xs")(ec()),n4.M2,function(n){return n.eventColor&&"\n background-image: none;\n color: ".concat(n4.Ce,";\n ")},j.BC.greaterThan("sm")(es()),j.BC.lessThan("sm")(el()),j.BC.lessThan("xs")(eu()),n8,function(n){return n.eventColor&&"\n color: ".concat(n4.Ce,";\n\n svg > path.st0 {\n fill: ").concat(n4.Ce,";\n }\n ")});var eg=t(29774),em=t(60605),eh=t(22005);function ex(){var n=(0,h.Z)(["\n flex: 0 0 20%;\n "]);return ex=function(){return n},n}function ev(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n\n padding: 0 4px;\n\n flex: 1 0 156px;\n\n ","\n\n && {\n scroll-snap-align: start;\n }\n &&:last-child {\n scroll-snap-align: end;\n }\n"]);return ev=function(){return n},n}function eb(){var n=(0,h.Z)(["\n &&& {\n padding-block-start: 8px;\n padding-block-end: 8px;\n }\n"]);return eb=function(){return n},n}function eZ(){var n=(0,h.Z)(["\n margin-left: 20px;\n "]);return eZ=function(){return n},n}function ew(){var n=(0,h.Z)(["\n white-space: nowrap;\n font-size: 14px;\n "]);return ew=function(){return n},n}function ey(){var n=(0,h.Z)(["\n position: relative;\n white-space: nowrap;\n line-height: .5;\n top: -1.2px;\n margin-left: auto;\n margin-right:0;\n\n ","\n\n ","\n \n"]);return ey=function(){return n},n}function eC(){var n=(0,h.Z)(["display: contents;"]);return eC=function(){return n},n}function ej(){var n=(0,h.Z)(["\n grid-gap: 10px;\n "]);return ej=function(){return n},n}function eP(){var n=(0,h.Z)(["\n padding: 18px;\n \n "]);return eP=function(){return n},n}function ek(){var n=(0,h.Z)(["\n height: 217px;\n "]);return ek=function(){return n},n}function eI(){var n=(0,h.Z)(["\n height: 217px;\n "]);return eI=function(){return n},n}function ez(){var n=(0,h.Z)(["\n font-size: 18px;\n "]);return ez=function(){return n},n}function eT(){var n=(0,h.Z)(["\n font-size: 15px;\n "]);return eT=function(){return n},n}function eS(){var n=(0,h.Z)(["\n font-size: 13px;\n "]);return eS=function(){return n},n}function eB(){var n=(0,h.Z)(["\n font-size: 22px;\n "]);return eB=function(){return n},n}function eE(){var n=(0,h.Z)(["\n padding: 8px;\n grid-gap: 6px;\n ","\n ","\n\n "," {\n ","\n img {\n ","\n\n }\n }\n\n\n "," {\n font-size: 14px;\n }\n\n "," {\n font-size: 14px;\n ","\n }\n "," {\n font-size: 14px;\n ","\n\n :after {\n font-size: 12px;\n ","\n }\n }\n\n "," {\n font-size: 18px;\n ","\n }\n"]);return eE=function(){return n},n}(0,x.ZP)(eh.qL).withConfig({componentId:"sc-b946a1eb-0"})(ev(),em.ZP.greaterThan("sm")(ex())),(0,x.ZP)(eh.cy).withConfig({componentId:"sc-b946a1eb-1"})(eb());var eO=(0,T.Z)((0,x.ZP)(k.u6).withConfig({componentId:"sc-b946a1eb-2"})(ey(),em.ZP.greaterThan("xs")(eZ()),em.ZP.lessThan("xs")(ew())));function eA(n){var e=n.link,t=n.title,r=n.track,i=n.color;return(0,o.jsxs)(ef,{children:[(0,o.jsx)(ep,{style:{color:i,backgroundImage:i?"none":void 0,WebkitTextFillColor:i?"unset":void 0},children:t}),e&&(0,o.jsx)(eg.Z,{href:null!=e?e:"#",passHref:!0,children:(0,o.jsx)(eO,{track:r,children:"Ver m\xe1s"})})]})}(0,T.Z)(x.ZP.a.withConfig({componentId:"sc-b946a1eb-3"})(eC())),(0,x.ZP)(I.J5).withConfig({componentId:"sc-b946a1eb-4"})(eE(),em.ZP.greaterThan("sm")(ej()),em.ZP.greaterThan("md")(eP()),I.B1,em.ZP.greaterThan("lg")(ek()),em.ZP.greaterThan("lg")(eI()),I.gd,z.Xf,em.ZP.greaterThan("md")(ez()),z.sz,em.ZP.greaterThan("md")(eT()),em.ZP.greaterThan("md")(eS()),z.GX,em.ZP.greaterThan("md")(eB())),eA.propTypes={link:Z().string,title:Z().string.isRequired,color:Z().string,track:Z().shape({}).isRequired},eA.defaultProps={link:null,color:null};var eR=function(n){var e=n.match(/^\/([^/]+)\//);if(!e)return"home";var t=e[0];switch(t){case"/e/":return"landing";case"/l/":return"listing";case"/p/":return"detailview"}},eq=function(n,e,t,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",c=eR(n);switch(e){case"related-by-visits":return"/p/".concat(t.slug,"-").concat(t.code,"?djazz_ref=").concat(r,"&djazz_srv=related-by-visits&djazz_src=").concat(c,"&djazz_pos=").concat(o+1);case"lastView":return"/p/".concat(t.slug,"-").concat(t.code,"?djazz_ref=").concat(i,"&djazz_srv=last-viewed&djazz_src=").concat(c,"&djazz_pos=").concat(o+1);case"relatedByLastView":return"/p/".concat(t.slug,"-").concat(t.code,"?djazz_ref=").concat(i,"&djazz_srv=related-last-viewed&djazz_src=").concat(c,"&djazz_pos=").concat(o+1);case"topOrdered":return"/p/".concat(t.slug,"-").concat(t.code,"?djazz_ref=").concat(a,"&djazz_srv=top-ordered&djazz_src=").concat(c,"&djazz_pos=").concat(o+1);case"topVisited":return"/p/".concat(t.slug,"-").concat(t.code,"?djazz_ref=").concat(a,"&djazz_srv=top-visited&djazz_src=").concat(c,"&djazz_pos=").concat(o+1);default:return"/p/".concat(t.slug,"-").concat(t.code)}},eF=function(n){var e,t=n.tracking,r=n.index,i=n.showcase,o=n.location,a=n.url,c=n.piece,s={event:t.itemClick,payload:{index:r,showcase:i,location:o,url:a}},l={event:t.topSortClick,url:a,location:o,productList:{page:Math.floor(r/5)+1||1,position:r,pageSize:5,item:c}};return(null==c?void 0:c.sponsored)?l:s};function eN(n){var e=n.showcase,t=n.tracking,a=n.className,s=n.dataJazzSku,u=n.quanticId,d=(0,c.useRouter)(),f=d.asPath,p=d.pathname,g=e.link,m=e.title,h=e.titleColor,x=e.pieces,b=e.categoryIds,Z=e.customType,w=t&&{event:t.viewMoreClick,payload:e},j=p.includes("/e/"),P=(0,i.Z)((0,l.rP)(),1)[0],k=(0,i.Z)((0,l.Xm)(),1)[0],I=P||k;return(0,o.jsxs)(n2,{className:a,"data-test-id":"regular-showcase",children:[(0,o.jsx)(n1,{children:(0,o.jsx)(eA,{track:w,link:g,title:m,color:h})}),(0,o.jsx)(C.ZP,{listComponent:nK,listItemComponent:j?n0:nY,children:x.map(function(n,i){var a=eF({piece:n,index:i,url:f,location:I,showcase:e,tracking:t});return(0,o.jsx)(y(),{href:{pathname:"/p/[productSlug]",query:{sku:n.code,slug:n.slug}},as:eq(f,Z,n,s,u,i,b),passHref:!0,children:(0,o.jsx)(nQ,{track:t&&a,children:(0,o.jsx)(nJ,(0,v.Z)((0,r.Z)({},n),{stockLabels:n.stock&&n.stock.labels}))})},n.id)})})]})}eN.propTypes={showcase:Z().shape({type:Z().string,title:Z().string,titleColor:Z().string,expiresAt:Z().oneOfType([Z().string,Z().number,Z().instanceOf(Date),]),titleBackgroundColor:Z().string,pieces:Z().arrayOf(Z().shape({}))}).isRequired,tracking:Z().shape({}).isRequired},eN.defaultProps={};var eL=(0,p.Z)(eN);function eD(){var n=(0,h.Z)(["\n "," {\n font-size: 22px;\n margin-left: 0;\n }\n "," {\n height: 140px;\n img {\n height: 140px;\n }\n }\n "]);return eD=function(){return n},n}function eM(){var n=(0,h.Z)(["\n\n ","{\n max-width: 140px;\n max-height: 140px;\n }\n "]);return eM=function(){return n},n}function e_(){var n=(0,h.Z)(["\n "," {\n font-size: 18px;\n text-align: initial;\n margin-left: 10px;\n }\n\n ","\n\n ","\n"]);return e_=function(){return n},n}function eH(){var n=(0,h.Z)(["\n margin: 0;\n /* background-color: transparent; */\n "]);return eH=function(){return n},n}function eX(){var n=(0,h.Z)(["\n position: relative;\n display:flex;\n overflow:hidden;\n flex-direction: column;\n background-color: #f9f9f9;\n margin-top: 0;\n margin-bottom: 10px;\n width: 100%;\n\n ","\n"]);return eX=function(){return n},n}function eW(){var n=(0,h.Z)(["\n padding-left:0px;\n padding-right:0px;\n "]);return eW=function(){return n},n}function e$(){var n=(0,h.Z)(["\n position: relative;\n display: flex;\n margin:auto;\n width:100%;\n max-width: 1280px;\n padding: 20px 0;\n padding-left:15px;\n padding-right:15px;\n\n ","\n"]);return e$=function(){return n},n}var eV=(0,x.ZP)(eL).withConfig({componentId:"sc-d0ac52b2-0"})(e_(),ep,j.BC.greaterThan("sm")(eD(),ep,_.ZP),j.BC.greaterThan("md")(eM(),_.Ei)),eU=x.ZP.section.withConfig({componentId:"sc-d0ac52b2-1"})(eX(),j.BC.lessThan("xs")(eH())),eG=x.ZP.div.withConfig({componentId:"sc-d0ac52b2-2"})(e$(),j.BC.greaterThan("1360px")(eW())),eQ=t(86589),eJ=t(58972),eK=function(n){var e,t=n.placementId,u=n.cookieId,p=n.categories,h=void 0===p?null:p,x=n.listUniqueId,v=void 0===x?null:x,b=n.showcaseTitle,Z=void 0===b?"Personas interesadas en este producto tambi\xe9n vieron":b,w=d()().publicRuntimeConfig.isRelatedProductsEnabled,y=(0,eJ.Z)({isRelatedProductsEnabled:w,placementId:void 0===t?26:t,cookieId:void 0===u?"XXXX":u}),C=y.suggestedItems,j=y.loading,P=(0,a.useState)(!1),k=P[0],I=P[1],z=(0,i.Z)((0,l.rP)(),1)[0],T=(0,i.Z)((0,l.Xm)(),1)[0],S=(0,c.useRouter)().asPath,B=(0,a.useRef)(),E=(0,g.Z)(B);(0,a.useEffect)(function(){if(E&&!k){var n,e,t=(0,eQ.IW)(null==C?void 0:C.items);t.some(function(n){return n.sponsored})?(0,m.trackEvent)("fvg.topSortImpressions",{location:z||T,url:S,title:Z,recommendationId:null==C?void 0:C.recommendationId,itemsCount:null==C?void 0:null===(n=C.items)||void 0===n?void 0:n.length,productList:{items:t,listUniqueId:v,category:(null==h?void 0:h[0])||null,page:1,pageSize:5},placementId:C.placementId,variantId:C.variantId}):(0,m.trackEvent)("fvg.vitrinaImpresion",{payload:{location:(z||T).number,url:S,title:Z,recommendationId:null==C?void 0:C.recommendationId,itemsCount:null==C?void 0:null===(e=C.items)||void 0===e?void 0:e.length,items:(0,r.Z)({},t),placementId:C.placementId,variantId:C.variantId}}),I(!0)}},[E]);var O=(0,c.useRouter)().query.productSlug,A=RegExp("^(?.+)-(?\\d+)?$").exec(O).groups.sku;return(0,o.jsxs)(o.Fragment,{children:[j&&(0,o.jsx)(f.Z,{height:30,size:30,style:{display:"grid",marginTop:"100px",marginBottom:"100px"}}),!j&&C&&!!(null==C?void 0:null===(e=C.items)||void 0===e?void 0:e.length)&&(0,o.jsx)(eU,{"data-test-id":"product-related",children:(0,o.jsx)(eG,{ref:B,children:(0,o.jsx)(eV,{showcase:{pieces:(0,eQ.IW)(C.items),title:Z,customType:"related-by-visits",placementId:C.placementId,variantId:C.variantId},tracking:s.cu.showcase(1),dataJazzSku:A})})})]})},eY=(0,p.Z)(eK)},86589:function(n,e,t){"use strict";t.d(e,{IW:function(){return s},Px:function(){return u},od:function(){return l}});var r=t(26042),i=t(69396),o=t(17503),a=t(11752),c=t.n(a),s=function(n){return n.map(function(n){return(0,i.Z)((0,r.Z)({},n),{image:n.image,code:n.code})}).map(o.getShowCaseItemsFromCMS)},l=function(n){return({110:"Personas interesadas en este producto tambi\xe9n vieron",92:"Quienes vieron este producto compraron",91:"Quienes vieron este producto compraron"})[n]||"Personas interesadas en este producto tambi\xe9n vieron"},u=function(){return c()().publicRuntimeConfig.apiRestShopping.includes("development")?91:92}},58972:function(n,e,t){"use strict";t.d(e,{Z:function(){return s}});var r=t(828),i=t(8858),o=t(11163),a=t(67848),c=t(95474);function s(n){var e,t,s,l,u,d,f,p,g=n.isRelatedProductsEnabled,m=n.placementId,h=n.cookieId,x=(0,o.useRouter)().query.productSlug,v=RegExp("^(?.+)-(?\\d+)?$").exec(x).groups.sku,b=t=[Number(v)],Z=(0,r.Z)((0,i.rP)(),1)[0],w=(0,r.Z)((0,i.Xm)(),1)[0];return s={skus:b,postalCode:(Z||w)&&(null===(e=Z||w)||void 0===e?void 0:e.id),cookieId:void 0===h?"XXXX":h,placementId:m},d=(u=(0,a.a)(["suggestedItems",s],function(){return(0,c.k)(s)},{enabled:g})).data,{suggestedItems:d,loading:f=u.isInitialLoading,error:u.isError}}},73333:function(n,e,t){"use strict";var r=t(26042),i=t(69396),o=t(99534),a=t(85893),c=t(67294),s=t(45697),l=t.n(s),u=t(17503),d=t(41645),f=function(n){var e=(0,c.forwardRef)(function(e,t){var c,s=e.track,l=e.onClick,f=(0,o.Z)(e,["track","onClick"]),p=s&&s.event?(0,d.qCK)(function(){return(0,u.trackEvent)(s)},l||d.yRu):l;return(0,a.jsx)(n,(0,i.Z)((0,r.Z)({},f),{onClick:p,ref:t}))});return e.propTypes={track:l().shape({event:l().string,payload:l().any}),onClick:l().func},e.defaultProps={track:null,onClick:d.yRu},e};e.Z=f},78114:function(n,e,t){"use strict";t.d(e,{cy:function(){return r.cy},qL:function(){return r.qL},vF:function(){return r.vF},ZP:function(){return T}});var r=t(22005),i=t(26042),o=t(69396),a=t(7297),c=t(85893);t(67294);var s=t(57833),l=t(70589);function u(){var n=(0,a.Z)(["\n display: contents;\n height: 100%;\n "]);return u=function(){return n},n}function d(){var n=(0,a.Z)(["\n ","\n"]);return d=function(){return n},n}function f(){var n=(0,a.Z)(["\n ","\n padding: 20px 0px;\n"]);return f=function(){return n},n}function p(){var n=(0,a.Z)(["\n ","\n"]);return p=function(){return n},n}function g(){var n=(0,a.Z)(["\n ","\n padding-bottom: 10px;\n"]);return g=function(){return n},n}function m(){var n=(0,a.Z)(["\n display: none;\n "]);return m=function(){return n},n}function h(){var n=(0,a.Z)(["\n ","\n"]);return h=function(){return n},n}function x(){var n=(0,a.Z)(["\n display: none;\n "]);return x=function(){return n},n}function v(){var n=(0,a.Z)(["\n ","\n"]);return v=function(){return n},n}function b(){var n=(0,a.Z)(["\n display: none;\n "]);return b=function(){return n},n}function Z(){var n=(0,a.Z)(["\n ","\n"]);return Z=function(){return n},n}var w=(0,s.iv)(d(),l.BC.greaterThan("sm")(u())),y=(0,s.ZP)(r.Bb).withConfig({componentId:"sc-3a151402-0"})(f(),w),C=(0,s.ZP)(r.cy).withConfig({componentId:"sc-3a151402-1"})(p(),w),j=(0,s.ZP)(r.qL).withConfig({componentId:"sc-3a151402-2"})(g(),w),P=(0,s.ZP)(r.Cc).withConfig({componentId:"sc-3a151402-3"})(h(),l.BC.greaterThan("sm")(m())),k=(0,s.ZP)(r.K1).withConfig({componentId:"sc-3a151402-4"})(v(),l.BC.greaterThan("sm")(x())),I=(0,s.ZP)(r.vF).withConfig({componentId:"sc-3a151402-5"})(Z(),l.BC.greaterThan("sm")(b()));function z(n){return(0,c.jsx)(r.ZP,(0,o.Z)((0,i.Z)({},n),{carouselWrapperComponent:y,listComponent:C,listItemComponent:j,previousButtonComponent:P,nextButtonComponent:k,stepperComponent:I}))}z.propTypes={},z.defaultProps={};var T=r.ZP},65798:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var r=t(828),i=t(67294);function o(){}function a(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0px",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,a=(0,i.useState)(!1),c=a[0],s=a[1];return(0,i.useEffect)(function(){if(n.current){var i=new IntersectionObserver(function(n){var e=(0,r.Z)(n,1)[0];s(e.isIntersecting),t(e)},{rootMargin:e});return i.observe(n.current),function(){i.disconnect()}}return o},[n.current]),c}},20228:function(n,e,t){"use strict";var r=t(67294),i=t(70589),o=function(){var n=(0,r.useState)(),e=n[0],t=n[1],o=function(){t(null==window?void 0:window.innerWidth)};(0,r.useEffect)(function(){return window.addEventListener("resize",o),function(){window.removeEventListener("resize",o)}},[]),(0,r.useEffect)(function(){t(window.innerWidth)},[]);var a=i.RO.xs,c=i.RO.sm,s=i.RO.md,l=i.RO.lg;return{isLessThanXs:e<=a,isBetweenXsSm:al}};e.Z=o},56641:function(n,e,t){"use strict";t.d(e,{Ew:function(){return f},ZP:function(){return p},ug:function(){return g}});var r=t(26042),i=t(69396),o=t(828),a=t(67294),c=t(8858),s=t(11163),l=t(71641),u=t(17503),d=t(46404);function f(){var n=(0,s.useRouter)().query.productSlug,e=RegExp("^(?.+)-(?\\d+)?$").exec(n).groups.sku,t=(0,l.aM)(d.uj,{variables:{sku:e}}),r=t.data,i=t.loading,o=t.error;return{favPlans:null==r?void 0:r.favPlans,loading:i,error:o}}function p(){var n,e=(0,s.useRouter)().query.productSlug,t=RegExp("^(?.+)-(?\\d+)?$").exec(e).groups.sku,f=(0,o.Z)((0,c.rP)(),1)[0],p=(0,o.Z)((0,c.Xm)(),1)[0],g=(f||p)&&(null===(n=f||p)||void 0===n?void 0:n.id),m=(0,l.aM)(d.d3,{variables:{sku:t,postalCode:g,isGeoLocated:!!g}}),h=m.data,x=m.loading,v=m.error,b=m.previousData,Z=t===(null==b?void 0:b.sku.code),w=(null==h?void 0:h.sku)||(null==b?void 0:b.sku);return{product:(0,a.useMemo)(function(){return x||void 0===w?w:(0,i.Z)((0,r.Z)({},w),{item:(0,i.Z)((0,r.Z)({},null==w?void 0:w.item),{slug:(0,u.removeSpecialCharacters)(null==w?void 0:w.item.slug)})})},[w,x]),loading:x,error:v,isPreviousSku:Z}}function g(){var n,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,o.Z)((0,c.rP)(),1)[0],s=(0,o.Z)((0,c.Xm)(),1)[0],f=(t||s)&&(null===(n=t||s)||void 0===n?void 0:n.id),p=(0,l.aM)(d.QV,{variables:{skus:e,postalCode:f},skip:0===e.length}),g=p.data,m=p.loading,h=p.error;return{products:(0,a.useMemo)(function(){return null==g?void 0:g.skus.results.map(function(n){return(0,i.Z)((0,r.Z)({},n),{item:(0,i.Z)((0,r.Z)({},n.item),{slug:(0,u.removeSpecialCharacters)(n.item.slug)})})})},[g]),loading:m,error:h}}t(95474)},64042:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var r=t(26042),i=t(32156),o=t.n(i);function a(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o()(n,(0,r.Z)({},{allowedTags:["svg","path","h1","h2","h3","h4","h5","h6","blockquote","p","a","ul","ol","nl","li","b","i","strong","em","strike","code","hr","br","div","span","table","small","thead","caption","tbody","tr","th","td","pre","img","iframe","video","source",],disallowedTagsMode:"discard",allowedAttributes:{"*":["class","data-*","id","style"],a:["href","name","target"],img:["src"],video:["src","autoplay","playsinline","muted","loop","preload","poster"],source:["src"],svg:["viewbox"],path:["d"],iframe:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta",],allowedSchemes:["http","https","ftp","mailto"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0},e))}},3330:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return uR},default:function(){return uq}});var r,i,o,a,c,s,l,u,d,f,p,g=t(26042),m=t(828),h=t(7297),x=t(85893),v=t(67294),b=t(11752),Z=t.n(b),w=t(57833),y=t(17503),C=t(11163),j=t(8858),P=t(2962),k=t(69396),I=t(5152),z=t.n(I),T=t(65798);function S(){var n=(0,h.Z)(["\n display: ",";\n"]);return S=function(){return n},n}var B=w.ZP.div.withConfig({componentId:"sc-75b68e27-0"})(S(),function(n){return n.children?"contents":"block"}),E=function(n,e){var t=(0,T.Z)(n,e),r=(0,v.useState)(!1),i=r[0],o=r[1];return(0,v.useEffect)(function(){i||o(t)},[t]),i},O=t(75063),A=t(71641);function R(){var n=(0,h.Z)(["\n query calculateDeliveryTermAndCost_Shopping(\n $sku: NonEmptyString!\n $sellerId: NonEmptyString!\n $postalCode: PostalNumber!\n ) {\n calculateDeliveryTermAndCost(\n sku: $sku, \n seller: $sellerId, \n postalCode: $postalCode) {\n deliveryTerm\n cost\n maxTime\n }\n }\n"]);return R=function(){return n},n}var q=(0,O.Ps)(R()),F=(0,v.createContext)([]),N=function(n){var e=n.sku,t=n.sellerId,r=n.children,i=(0,m.Z)((0,j.rS)(),1)[0],o=(0,m.Z)((0,j.rP)(),2),a=o[0],c=o[1],s=(0,j.xs)(),l=(0,v.useState)(s),u=l[0],d=l[1],f=(0,v.useState)(!1),p=f[0],g=f[1],h=(0,A.aM)(q,{variables:{sku:e,sellerId:t,postalCode:u&&u.number},skip:!u}),b=h.loading,Z=h.data,w=Z&&Z.calculateDeliveryTermAndCost,y=(0,v.useCallback)(function(n){a||c(n),d(n)},[a,d]),C=(0,m.Z)((0,j.Vs)({onSubmit:y,autoResetTimeout:1}),5),P=C[0],k=C[1],I=C[2],z=C[3],T=C[4],S=T.loading,B=T.errorCodes,E=T.error;return(0,v.useEffect)(function(){b||(w?i("fvg.homedelivery.calculatedelivery-withdelivery",{cp:u&&a?u.number:null,cost:w.cost,deliveryTerm:w.deliveryTerm}):i("fvg.homedelivery.save-nodelivery-cp",{cp:u&&a?u.number:null}))},[w,b,u]),(0,v.useEffect)(function(){a&&z(a)},[a]),(0,v.useEffect)(function(){g(S||b)},[S,b]),(0,x.jsx)(F.Provider,{value:{deliveryCost:w,isLoading:p,isClientCP:!!a,postalCodeForCalculation:u,deliveryFormStatus:P,onSubmitPostalCode:k,locationOptions:I,onSelectOption:z,errorCodes:B,error:E,handleSubmit:y},children:r})},L=t(16890),D=t(34110),M=t(5406),_=t(83253),H=t.n(_),X=t(78114),W=t(569),$=t(70589);function V(){var n=(0,h.Z)(["\n display: none !important;\n "]);return V=function(){return n},n}function U(){var n=(0,h.Z)(["\n position:relative;\n padding:.5em 0;\n "]);return U=function(){return n},n}function G(){var n=(0,h.Z)(["\n position: relative !important;\n bottom: 0.15rem;\n background-color: #fafafa;\n padding: 7px 0;\n "]);return G=function(){return n},n}function Q(){var n=(0,h.Z)(["\n width: ",";\n height: ",";\n "]);return Q=function(){return n},n}function J(){var n=(0,h.Z)(["\n /* DOTS */\n .slick-dots,\n .dots {\n position: absolute !important;\n display: inline-flex !important;\n flex-direction: row;\n flex-wrap:nowrap;\n justify-content: center;\n left: 50%;\n bottom:0;\n transform:translateX(-50%);\n width: 100%;\n\n ",";\n\n ",";\n\n ",";\n\n li {\n position: relative;\n border:0;\n width: ",";\n height: ",";\n background-color: #c9c7c7;\n border-radius: 100%;\n margin-right: 11px;\n\n ",";\n\n button {\n text-align:center;\n position: relative;\n background-color: transparent;\n border:none;\n color:transparent;\n opacity: .9;\n cursor: pointer;\n width: 100%;\n height: 100%;\n &:before {\n content:'';\n }\n }\n\n &.slick-active {\n background-color: #807f80;\n }\n }\n }\n"]);return J=function(){return n},n}var K=(0,w.iv)(J(),$.BC.between("xs","md")(V()),$.BC.greaterThan("sm")(U()),$.BC.lessThan("xs")(G()),"8px","8px",$.BC.lessThan("xs")(Q(),"6px","6px"));function Y(){var n=(0,h.Z)(["\n \n .slick-slider {\n position: relative;\n display: block;\n padding: 0;\n user-select: none;\n touch-action: pan-y;\n width:100%;\n\n ","\n\n .slick-track {\n position: relative;\n width: 100%;\n top: 0;\n left: 0;\n overflow:hidden;\n display: inline-flex;\n flex-direction: row;\n transform: translate3d(0, 0, 0);\n\n &:before,\n &:after {\n display: table;\n content: '';\n }\n &:after {\n clear: both;\n }\n }\n\n .slick-list {\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n margin: 0;\n padding: 0;\n max-width:100%;\n transform: translate3d(0, 0, 0);\n transition: ",";\n overflow:hidden;\n\n &:focus {\n outline: none;\n }\n\n &.dragging {\n cursor: pointer;\n cursor: hand;\n }\n }\n\n /* SLICK-SLIDE */\n .slick-slide {\n visibility:hidden;\n display: inline-flex;\n align-items: flex-start;\n justify-content: center;\n min-height: 1px;\n overflow: hidden;\n }\n\n /* Evento */\n .slick-slide.dragging img {\n pointer-events: none;\n }\n\n &.slick-initialized .slick-slide {\n visibility:visible;\n }\n }\n"]);return Y=function(){return n},n}var nn=w.ZP.div.withConfig({componentId:"sc-35d8967e-0"})(Y(),K,W.yz),ne=t(90788),nt=t(20585),nr=t(4111),ni=t(51438),no=t(52951),na=t(14924),nc=t(88029),ns=t(5950),nl=t(17398),nu=t(45846);function nd(){var n=(0,h.Z)(["\n display: flex;\n align-items: center;\n justify-content: center;\n position: rela;\n width: 100%;\n height: ",";\n align-items: center;\n"]);return nd=function(){return n},n}function nf(){var n=(0,h.Z)(["\n height: 500px;\n "]);return nf=function(){return n},n}function np(){var n=(0,h.Z)(["\n display: ",";\n align-items: center;\n overflow: hidden;\n z-index:9;\n height: 100%;\n\n ","\n\n .imagenSeleccionada {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n max-width: 500px;\n\n .imgBigWrapper {\n position: absolute !important;\n width: 100% !important;\n height: 100% !important;\n }\n\n img {\n &.imgSmall {\n width: ",";\n height: ",";\n }\n\n /* imagen de zoom */\n &.imgBig {\n position: relative;\n max-width: initial !important;\n }\n }\n }\n"]);return np=function(){return n},n}var ng=w.ZP.div.withConfig({componentId:"sc-c8adbf61-0"})(nd(),function(n){var e=n.width;return"".concat(e,"px")}),nm=w.ZP.div.withConfig({componentId:"sc-c8adbf61-1"})(np(),function(n){return n.error&&"flex"},$.BC.greaterThan("md")(nf()),function(n){return n.error?"500px":"auto"},function(n){return n.error?"500px":"auto"}),nh=function(n){(0,nc.Z)(t,n);var e=(0,ns.Z)(t);function t(){var n;return(0,ni.Z)(this,t),n=e.apply(this,arguments),(0,na.Z)((0,nr.Z)(n),"state",{displayImage:!1,error:!1}),n}return(0,no.Z)(t,[{key:"render",value:function(){var n=this,e=this.props,t=e.imageId,r=e.width,i=e.alt,o=this.state,a=o.displayImage,c=o.error;return(0,x.jsxs)(nm,{error:c,children:[a?null:(0,x.jsx)(ng,{displayImage:a,width:r,children:(0,x.jsx)(nu.Z,{})}),(0,x.jsx)(nl.Z,{smallImage:{alt:i,isFluidWidth:!0,src:c?"/static/not-found-img.png":(0,y.getOriginalImageUrl)(t,r),onLoad:function(){return n.setState(function(){return{displayImage:!0}})},onError:function(){return n.setState(function(){return{error:!0}})}},largeImage:{alt:i,src:c?"/static/not-found-img.png":(0,y.getOriginalImageUrl)(t,r,2),width:c?0:2*r,height:c?0:2*r,style:{width:"100px"}},isHintEnabled:!1,shouldHideHintAfterFirstActivation:!1,enlargedImagePosition:"over",className:"imagenSeleccionada",imageClassName:"imgSmall",enlargedImageContainerClassName:"imgBigWrapper",enlargedImageClassName:"imgBig"})]})}}]),t}(v.Component);function nx(){return(nx=Object.assign?Object.assign.bind():function(n){for(var e=1;e.+)-(?\\d+)?$").exec(o).groups.slug,w="".concat(Z.charAt(0).toUpperCase()).concat(Z.replace(/-/g," ").slice(1)," - ").concat(e.indexOf(c)),y=e.includes(c)||h.includes(c);return(0,x.jsxs)(eh,{"data-test-id":"carousel-product",children:[(0,x.jsx)(ne.Global,{}),(0,x.jsx)(eP,{cucardas:r,children:(0,x.jsx)(em,{children:y?b?(0,x.jsx)(M.Z,{videoId:c,containerClassName:"youtubeWrapper",className:"youtube",opts:{width:"500",height:"500"}}):(0,x.jsx)(nh,{imageId:c,width:"500",alt:w},c):(0,x.jsx)(nu.Z,{})})}),(0,x.jsxs)(v.Fragment,{children:[(0,x.jsxs)(H(),{isOpen:u,onRequestClose:function(){d(!1)},contentLabel:"Modal de imagenes del producto",className:"productCarousel-modal-mobile",children:[(0,x.jsx)(ey,{onClick:function(){d(!1)}}),(0,x.jsx)(n2,{images:e,initialImage:p,videos:t})]}),(0,x.jsxs)(eZ,{showStepper:!0,stepperComponent:ew,listItemComponent:ej,children:[e.map(function(n,e){return(0,x.jsx)(eC,{style:{cursor:"pointer",border:i?"none":c===n?"2px solid rgb(101 75 185)":"1px solid #dadada"},className:i?"imagenSeleccionada":null,onClick:i?function(){return m(n)}:function(){return s(n)},imageId:n,alt:w.replace(/[0-9]$/g,e),withLoader:!0,width:i?"300":"100",height:i?"300":"100",loadEagerly:i},n)}),h.map(function(n){return(0,x.jsxs)(v.Fragment,{children:[(0,x.jsx)(eC,{style:{cursor:"pointer",border:i?"none":c===n?"2px solid rgb(101 75 185)":"1px solid #dadada"},className:i?"imagenSeleccionada":null,onClick:i?function(){return m(n)}:function(){return s(n)},src:"https://img.youtube.com/vi/".concat(n,"/0.jpg"),alt:"Seleccionar foto del producto",withLoader:!0,width:i?"230px":"130px",height:"130px"}),(0,x.jsx)(ex,{onClick:i?function(){return m(n)}:function(){return s(n)}})]},n)})]})]})]})}var eI=t(78058),ez=t(55295),eT=t(47035),eS=t(55825);function eB(){var n=(0,h.Z)(["\n height: 1px;\n background-color: #dadada;\n margin: 0 -25px;\n"]);return eB=function(){return n},n}function eE(){var n=(0,h.Z)(["\n margin: 0;\n"]);return eE=function(){return n},n}function eO(){var n=(0,h.Z)(["\n display: block;\n "]);return eO=function(){return n},n}function eA(){var n=(0,h.Z)(["\n display: none;\n ",";\n"]);return eA=function(){return n},n}function eR(){var n=(0,h.Z)(["\n font-size: 34px;\n "]);return eR=function(){return n},n}function eq(){var n=(0,h.Z)(["\n font-weight: 400;\n font-size: 30px;\n margin-right: 5px;\n color: #242433;\n ",";\n"]);return eq=function(){return n},n}function eF(){var n=(0,h.Z)(["\n font-size: 24px;\n "]);return eF=function(){return n},n}function eN(){var n=(0,h.Z)(["\n font-size: 16px;\n color: #8D8DA6;\n margin-right: 8px;\n\n ",";\n"]);return eN=function(){return n},n}function eL(){var n=(0,h.Z)(['\n font-size: 18px;\n &:after {\n font-size: 18px;\n content: "% OFF";\n }\n ']);return eL=function(){return n},n}function eD(){var n=(0,h.Z)(['\n font-size: 14px;\n &:after {\n font-size: 14px;\n content: "% OFF";\n }\n\n ',";\n"]);return eD=function(){return n},n}function eM(){var n=(0,h.Z)(["\n text-align: left;\n"]);return eM=function(){return n},n}function e_(){var n=(0,h.Z)(["\n max-width: 460px;\n border: solid 1px #dadada;\n padding: 32px 24px 12px 24px;\n "]);return e_=function(){return n},n}function eH(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n margin: auto;\n max-width: 500px;\n width: 100%;\n text-align: left;\n padding: 0px 16px;\n border-radius: 8px;\n\n ","\n "]);return eH=function(){return n},n}function eX(){var n=(0,h.Z)(["\n font-size: 27px;\n padding: 0 0 16px; \n line-height: 1.18;\n letter-spacing: -0.5px;\n "]);return eX=function(){return n},n}function eW(){var n=(0,h.Z)(["\n margin: 0;\n font-style: normal;\n font-stretch: normal;\n text-align: left;\n padding: 0px 0px 12px;\n color: #000000;\n font-size: 18px;\n font-weight: 600;\n letter-spacing: -0.3px;\n line-height: 1.56;\n \n ","\n"]);return eW=function(){return n},n}function e$(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n gap: 12px;\n margin: 16px 0px 24px;\n"]);return e$=function(){return n},n}function eV(){var n=(0,h.Z)(["\n display: contents;\n "]);return eV=function(){return n},n}function eU(){var n=(0,h.Z)(["\nbottom: 0;\n background-color: white;\n box-shadow: 0px -8px 32px 0px rgba(159, 158, 166, 0.25), 0px 0px 1px 0px rgba(159, 158, 166, 0.50);\n display: flex;\n flex-direction: column;\n left: 0;\n padding: 20px;\n position: fixed;\n right: 0;\n border-radius: 16px 16px 0px 0px;\n z-index: 6;\n\n ","\n"]);return eU=function(){return n},n}function eG(){var n=(0,h.Z)(["\n background: none;\n border: none;\n line-height: 1.21;\n text-align: start;\n font-size: 14px;\n cursor: pointer;\n color: #4a4a4a;\n padding: 0;\n"]);return eG=function(){return n},n}function eQ(){var n=(0,h.Z)(["\n color: #006afd;\n"]);return eQ=function(){return n},n}function eJ(){var n=(0,h.Z)(["\n width: 100%;\n "]);return eJ=function(){return n},n}function eK(){var n=(0,h.Z)(["\n width: 80%;\n margin: 24px auto 0 auto;\n "]);return eK=function(){return n},n}function eY(){var n=(0,h.Z)(["\n text-transform: none;\n font-size: 16px;\n padding: 16px 18px !important;\n width: 50%;\n background-color: #871EE3;\n ","\n ","\n"]);return eY=function(){return n},n}function e0(){var n=(0,h.Z)(["\n flex-direction: row-reverse;\n gap: 12px;\n "]);return e0=function(){return n},n}function e1(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n ","\n\n\n"]);return e1=function(){return n},n}var e2=w.ZP.div.withConfig({componentId:"sc-faa1a185-0"})(eB());(0,w.ZP)(e2).withConfig({componentId:"sc-faa1a185-1"})(eE());var e4=(0,w.ZP)(e2).withConfig({componentId:"sc-faa1a185-2"})(eA(),$.BC.greaterThan("sm")(eO())),e5=(0,w.ZP)(ez.GX).withConfig({componentId:"sc-faa1a185-3"})(eq(),$.BC.greaterThan("sm")(eR())),e3=(0,w.ZP)(ez.Xf).withConfig({componentId:"sc-faa1a185-4"})(eN(),$.BC.greaterThan("sm")(eF())),e6=(0,w.ZP)(ez.sz).withConfig({componentId:"sc-faa1a185-5"})(eD(),$.BC.greaterThan("sm")(eL())),e8=(0,w.ZP)(eT.Z).withConfig({componentId:"sc-faa1a185-6"})(eM()),e7=w.ZP.div.attrs({"data-test-id":"product-info"}).withConfig({componentId:"sc-faa1a185-7"})(eH(),$.BC.greaterThan("sm")(e_())),e9=w.ZP.h1.withConfig({componentId:"sc-faa1a185-8"})(eW(),$.BC.greaterThan("sm")(eX())),tn=w.ZP.div.attrs({"data-test-id":"product-delivery"}).withConfig({componentId:"sc-faa1a185-9"})(e$()),te=w.ZP.div.withConfig({componentId:"sc-faa1a185-10"})(eU(),$.BC.greaterThan("xs")(eV())),tt=w.ZP.button.withConfig({componentId:"sc-faa1a185-11"})(eG()),tr=w.ZP.span.withConfig({componentId:"sc-faa1a185-12"})(eQ()),ti=(0,w.ZP)(eS.Z).attrs({"data-test-id":"product-buy-button"}).withConfig({componentId:"sc-faa1a185-13"})(eY(),$.BC.greaterThan("xs")(eJ()),$.BC.greaterThan("sm")(eK())),to=w.ZP.div.withConfig({componentId:"sc-faa1a185-14"})(e1(),$.BC.lessThan("xs")(e0()));function ta(){return(ta=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&(0,x.jsx)(r0,{children:"\xa1Nuestras promociones bancarias!"}),(0,x.jsx)(rY,{children:o?(0,x.jsx)(nu.Z,{}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{children:a&&Object.values(a).map(function(n,r){return(0,x.jsxs)(rG,{children:[(0,x.jsxs)(r3,{children:[(0,x.jsx)(r1,{children:(0,x.jsxs)(r2,{children:[" ",n[0].installments.quantity," "]})}),"cuotas"," ",(0,x.jsxs)(r1,{children:[" ","sin inter\xe9s de"," ",(0,y.numberAsPrice)(e*n[0].installments.factor)]})]}),(0,x.jsx)(rK,{children:n.map(function(n,e){return(0,x.jsx)(r5,{onClick:t,imageId:n.logo,width:64,alt:"Opci\xf3n de pago"},e)})})]},r)})}),(0,x.jsx)("div",{children:c&&(0,x.jsxs)(rJ,{children:[(0,x.jsx)(rQ,{children:Object.values(c).map(function(n,t){return(0,x.jsxs)(r3,{children:[(0,x.jsxs)(r4,{children:[n[0].installments.quantity," "]}),"cuotas fijas de"," "," "," ",(0,y.numberAsPrice)(e*n[0].installments.factor)]},t)})}),(0,x.jsx)(rQ,{children:Object.values(c).map(function(n,e){return(0,x.jsx)(rK,{children:n.map(function(n,e){return(0,x.jsx)(r5,{onClick:t,imageId:n.logo,width:64,alt:"Opci\xf3n de pago"},e)})},e)})})]})})]})})]}),(0,x.jsx)(tQ,{hasFavPlan:!(0,rA.xbD)(i),className:"paymentsLink",role:"button",onClick:t,"data-test-id":"button-open-modal-payment","data-event":"fvg.productDetail.click-view-payment-methods",children:"Ver todos los medios de pago"})]})})}var r8=t(46404),r7=t(29815),r9=t(87430),ie=t.n(r9),it=function(n){return n.immediatePickup&&n.deferredPickup&&(0,r7.Z)(n.immediatePickup.options).concat((0,r7.Z)(n.deferredPickup.options))},ir=function(n){var e=n.immediatePickup&&n.immediatePickup&&(0,r7.Z)(n.immediatePickup.locations).concat((0,r7.Z)(n.deferredPickup.locations));return(0,r7.Z)(new Map(e.map(function(n){return[n.id,n]})).values())},ii=function(n){return n&&n.slice(0).sort(function(n,e){return n.deliveryTerm-e.deliveryTerm||io()(n.from,e.from)})},io=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["name"];return function(e,t){return ie()(n,e).localeCompare(ie()(n,t))}},ia=(0,v.createContext)({});function ic(n){var e=n.sku,t=n.children,r=(0,m.Z)((0,j.rS)(),1)[0],i=(0,m.Z)((0,j.rP)(),2),o=i[0],a=i[1],c=(0,m.Z)((0,j.Xm)(),1)[0],s=(0,v.useState)(o),l=s[0],u=s[1];(0,v.useEffect)(function(){u(o)},[o]);var d=l&&l.location,f=(0,v.useState)(!d),p=f[0],h=f[1],b=(0,v.useCallback)(function(){h(!1)},[]),Z=(0,A.aM)(r8.tH,{variables:{bundle:[{sku:e,units:1}],split:!1,postalCode:l&&l.id||c&&c.id},skip:!l&&!c,onCompleted:b},[]),w=Z.data,y=Z.loading,C=(0,v.useMemo)(function(){var n,e;return w&&(e=(n=ii(it(w)))&&n.map(function(n){var e=n.from,t=(0,tO.Z)(n,["from"]);return(0,g.Z)({},t,e)}))&&e.map(function(n){var e=n.availabilityDate,t=(0,tO.Z)(n,["availabilityDate"]);return(0,k.Z)((0,g.Z)({},t),{availabilityDate:e||"now"})})}),P=(0,v.useCallback)(function(n,e){var t=e.reset;o||a(n),u(n),h(!1),t()},[o]),I=(0,m.Z)((0,j.Vs)({onSubmit:P,autoResetTimeout:1}),5),z=I[0],T=I[1],S=I[2],B=I[3],E=I[4],O=E.error,R=E.loading,q=E.errorCodes,F=E.reset,N=(0,v.useState)(),L=N[0],D=N[1],M=(0,v.useCallback)(function(n){if(D(function(e){return(e&&e.id)===(n&&n.id)?void 0:n}),n){var e;r("fvg.productDetail.click-select-pick-up-store",{id:n.id,name:n.name})}},[]),_=(0,v.useCallback)(function(){h(!0),r("fvg.homedelivey.click-open-cp")},[F,r]),H=(0,v.useCallback)(function(){h(!1)});return(0,x.jsx)(ia.Provider,{value:{loadingOffices:y,onBranchChange:M,selectedBranch:L,mergedBranches:C,currentLocation:d,openPostalCodeForm:_,closePostalCodeForm:H,isPostalCodeFormOpen:p,postalCodeIsSubmiting:R||y,postalCodeForCalculation:l,postalCodeFormStatus:z,onSubmitPostalNumber:T,onSelectOption:B,locationOptions:S,error:O,errorCodes:q},children:t})}var is=t(49303),il=t(78521);function iu(){var n=(0,h.Z)(["\n query availablePickupCenters_Shopping ($bundle: [SkuAndUnitsInput!]!, $split: Boolean!, $location: Int, $postalCode: PostalId) {\n immediatePickup (bundle: $bundle, split: $split, location: $location, postalCode: $postalCode) {\n options {\n from {\n id\n name\n address {\n location {\n id\n name\n zone {\n offset\n }\n }\n \n coordinates {\n lat\n lon\n }\n street\n }\n contactPhone\n openingTime\n }\n deliveryTerm\n }\n }\n deferredPickup(bundle: $bundle, split: $split, location: $location, , postalCode: $postalCode) {\n options {\n from {\n id\n name\n address {\n location {\n id\n name\n zone {\n offset\n }\n }\n coordinates {\n lat\n lon\n }\n street\n }\n contactPhone\n openingTime\n }\n availabilityDate\n deliveryTerm\n }\n }\n }\n"]);return iu=function(){return n},n}function id(){var n=(0,h.Z)(["\n query availablePickupLocations_Shopping(\n $bundle: [SkuAndUnitsInput!]!\n $location: Int\n $postalCode: PostalId\n ) {\n immediatePickup(\n bundle: $bundle\n location: $location\n postalCode: $postalCode) {\n took\n locations {\n id\n name\n }\n }\n deferredPickup(\n bundle: $bundle\n location: $location\n postalCode: $postalCode\n ) {\n took\n locations {\n id\n name\n }\n }\n }\n"]);return id=function(){return n},n}var ip=(0,O.Ps)(iu()),ig=(0,O.Ps)(id()),im=function(){var n,e,t,r,i,o,a,c,s,l,u,d=(n=(0,C.useRouter)().query.productSlug,e=RegExp("^(?.+)-(?\\d+)?$").exec(n).groups.sku,r=(t=(0,A.aM)(ig,{variables:{bundle:[{sku:e,units:1}],location:null,postalCode:null}})).data,{locations:r,loading:i=t.loading,error:t.error}),f=d.locations,p=d.loading,m=d.error,h=(0,v.useState)(),b=h[0],Z=h[1],w=(0,v.useState)(null),j=w[0],P=w[1],I=(a=(0,C.useRouter)().query.productSlug,c={bundle:[{sku:RegExp("^(?.+)-(?\\d+)?$").exec(a).groups.sku,units:1}],split:!1,location:b&&b.id||0,postalCode:null},l=(s=(0,A.aM)(ip,{variables:c})).data,{branches:l,loading:u=s.loading,error:s.error}),z=I.branches,T=I.loading,S=(0,v.useMemo)(function(){var n,e;return z&&(e=(n=ii(it(z)))&&n.map(function(n){var e=n.from,t=(0,tO.Z)(n,["from"]);return(0,g.Z)({},t,e)}))&&e.map(function(n){var e=n.availabilityDate,t=(0,tO.Z)(n,["availabilityDate"]);return(0,k.Z)((0,g.Z)({},t),{availabilityDate:e||"now"})})}),B=(0,v.useMemo)(function(){return f&&ir(f).sort(io())},[f]),E=(0,v.useMemo)(function(){return m}),O=(0,v.useCallback)(function(n){if(Z(n),n){var e=n.id,t=n.name;(0,y.trackEvent)("fvg.productDetail.click-select-pick-up-zone",{id:e,name:t})}}),R=(0,v.useCallback)(function(n){if(P(function(e){return(e&&e.id)===(n&&n.id)?void 0:n}),n){var e=n.id,t=n.name;(0,y.trackEvent)("fvg.productDetail.click-select-pick-up-store",{id:e,name:t})}},[]),q=(0,il.Z)(il.R.useInteractiveMapOnProductDetailsPage);return(0,x.jsx)(is.Z,{loadingBranches:T,branches:S,selectedBranch:j,onBranchChange:R,loadingLocations:p,locations:B,selectedLocation:b,onLocationChange:O,error:E,useInteractiveMap:q,style:{flexGrow:1}})};function ih(){var n=(0,h.Z)(["\n height: 34px;\n"]);return ih=function(){return n},n}function ix(){var n=(0,h.Z)(["\n display: block;\n "]);return ix=function(){return n},n}function iv(){var n=(0,h.Z)(["\n display: none;\n ","\n border-radius: 3px;\n padding: 10px;\n border: solid 1px;\n background-color: #ffffff;\n font-size:14px;\n color: #4a4a4a;\n box-sizing: border-box;\n\n &:focus {\n outline: unset;\n border-color: #888888;\n }\n &:active {\n border-color: #888888;\n }\n"]);return iv=function(){return n},n}function ib(){var n=(0,h.Z)(["\n display: none;\n "]);return ib=function(){return n},n}function iZ(){var n=(0,h.Z)(["\n display: block;\n ","\n"]);return iZ=function(){return n},n}function iw(){var n=(0,h.Z)(['\n font-family: "Work Sans";\n width: 90px;\n border-radius: 3px;\n background-color: #440099;\n color: white;\n cursor: pointer;\n border: 0px;\n font-size: 14px;\n font-weight: 500;\n margin-left: 15px;\n']);return iw=function(){return n},n}var iy=w.ZP.form.attrs(function(n){return{show:void 0,style:{display:n.show?"flex":"none"}}}).withConfig({componentId:"sc-a5a9846d-0"})(ih()),iC=w.ZP.input.withConfig({componentId:"sc-a5a9846d-1"})(iv(),$.BC.greaterThan("sm")(ix())),ij=(0,w.ZP)(iC).withConfig({componentId:"sc-a5a9846d-2"})(iZ(),$.BC.greaterThan("sm")(ib())),iP=w.ZP.button.attrs(function(n){return{style:{backgroundColor:n.disabled?"#654BB9":"#440099"}}}).withConfig({componentId:"sc-a5a9846d-3"})(iw()),ik=function(n){var e=n.onSubmit,t=n.className,r=n.show,i=n.withError,o=n.isLoading,a=(0,v.useState)(""),c=a[0],s=a[1],l=function(n){n.preventDefault(),e(c)},u=function(n){/^[0-9]*$/.test(n)&&n.length<5&&s(n)};return(0,x.jsxs)(iy,{show:r,className:t,onSubmit:function(n){return l(n)},children:[(0,x.jsx)(iC,{autoFocus:!0,value:c,placeholder:"Ej 1414",maxLength:"4",onChange:function(n){return u(n.target.value)},type:"tel","data-test-id":"postal-code-input",style:{borderColor:i?"#b80000":"#888888"}}),(0,x.jsx)(ij,{value:c,placeholder:"Ej 1414",maxLength:"4",onChange:function(n){return u(n.target.value)},type:"tel","data-test-id":"postal-code-input-mobile",style:{borderColor:i?"#b80000":"#888888"}}),(0,x.jsx)(iP,{type:"submit",disabled:o||c.length<4,"data-test-id":"save-postal-code-button",children:"GUARDAR"})]})};function iI(){var n=(0,h.Z)(["\n font-weight: bold;\n "]);return iI=function(){return n},n}function iz(){var n=(0,h.Z)(["\n font-size: 14px;\n color: #4a4a4a;\n margin: 0px 8px !important;\n font-family: Arial;\n font-weight: normal;\n\n\n ","\n"]);return iz=function(){return n},n}function iT(){var n=(0,h.Z)(["\n display: flex;\n align-items: center;\n margin-bottom: 10px;\n"]);return iT=function(){return n},n}function iS(){var n=(0,h.Z)(["\n width: 32px;\n"]);return iS=function(){return n},n}ik.defaultProps={className:"",show:!0,withError:!1,isLoading:!1},ik.propTypes={onSubmit:nb.func.isRequired,className:nb.string,show:nb.bool,withError:nb.bool,isLoading:nb.bool};var iB=w.ZP.h1.withConfig({componentId:"sc-1b4abfda-0"})(iz(),$.BC.greaterThan("sm")(iI())),iE=w.ZP.div.withConfig({componentId:"sc-1b4abfda-1"})(iT()),iO=(0,w.ZP)(td).withConfig({componentId:"sc-1b4abfda-2"})(iS()),iA=function(n){var e=n.errorType,t=n.className;return(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)(iE,{className:t,children:[(0,x.jsx)(iO,{}),"invalidPostalCode"===e&&(0,x.jsx)(iB,{children:"No pudimos validar tu ubicaci\xf3n, ingres\xe1 otro c\xf3digo postal"}),"serverError"===e&&(0,x.jsx)(iB,{children:"Hubo en error inesperado. Volv\xe9 a ingresar tu c\xf3digo postal."})]})})};function iR(){var n=(0,h.Z)(["\n font-size: 15px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.33;\n letter-spacing: -0.4px;\n color: #000000;\n margin-bottom: 10px;\n"]);return iR=function(){return n},n}iA.defaultProps={className:""},iA.propTypes={className:nb.string,errorType:nb.string.isRequired};var iq=w.ZP.h1.withConfig({componentId:"sc-42c7792e-0"})(iR()),iF={standBy:"idle",success:"success",withOptions:"options",notFound:"notFound",serviceError:"serviceError"},iN=function(n){var e=n.formStatus,t=n.onSubmit,r=n.onSelectOption,i=n.isLoading,o=n.locationOptions,a=n.error,c=n.errorCodes;return(0,x.jsxs)(x.Fragment,{children:[c&&c.map(function(n){return(0,x.jsx)(iA,{errorType:n},n)}),e===iF.standBy&&(0,x.jsx)(ik,{onSubmit:function(n){return t(n)},isLoading:i,withError:a}),e===iF.withOptions&&(0,x.jsxs)("div",{children:[(0,x.jsx)(iq,{children:" \xbfEn qu\xe9 provincia est\xe1s? "}),(0,x.jsx)(tC,{options:o,onSelectOption:function(n){return r(n)}})]})]})};function iL(){var n=(0,h.Z)(["\n font-size: 15px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.33;\n letter-spacing: -0.4px;\n color: #000000;\n margin-bottom: .5em;\n"]);return iL=function(){return n},n}function iD(){var n=(0,h.Z)(["\n margin: .5em 0;\n "]);return iD=function(){return n},n}function iM(){var n=(0,h.Z)(["\n padding: .5em 1em;\n margin: .5em 1em;\n\n ","\n"]);return iM=function(){return n},n}function i_(){var n=(0,h.Z)(["\n background: unset;\n margin: 0;\n padding: 0;\n border: 0;\n color: #006afd;\n font-family: inherit;\n font-weight: 400;\n font-style: normal;\n font-size: 16px;\n font-stretch: normal;\n line-height: 1.31;\n letter-spacing: -0.5px;\n text-decoration: none;\n cursor: pointer;\n"]);return i_=function(){return n},n}var iH=w.ZP.h1.withConfig({componentId:"sc-942b4aee-0"})(iL()),iX=w.ZP.div.withConfig({componentId:"sc-942b4aee-1"})(iM(),$.BC.greaterThan("sm")(iD())),iW=w.ZP.button.withConfig({componentId:"sc-942b4aee-2"})(i_()),i$=function(){var n=(0,v.useContext)(ia),e=n.loadingOffices,t=n.onBranchChange,r=n.selectedBranch,i=n.mergedBranches,o=n.currentLocation,a=n.openPostalCodeForm,c=n.closePostalCodeForm,s=n.isPostalCodeFormOpen,l=n.postalCodeIsSubmiting,u=n.postalCodeForCalculation,d=n.postalCodeFormStatus,f=n.onSubmitPostalNumber,p=n.onSelectOption,g=n.locationOptions,h=n.error,b=n.errorCodes;(0,v.useEffect)(function(){return function(){return c()}},[]);var Z=(0,il.Z)(il.R.useInteractiveMapOnProductDetailsPage),w=(0,m.Z)((0,j.Xm)(),1)[0];return(0,x.jsx)(is.Z,{loadingBranches:e,onBranchChange:t,selectedBranch:r,branches:i,selectedLocation:o,useInteractiveMap:Z,hideCount:!0,style:{flexGrow:1},children:(0,x.jsxs)(iX,{children:[(0,x.jsxs)(iH,{children:[s&&(0,x.jsx)(x.Fragment,{children:"Ingres\xe1 tu c\xf3digo postal para ver sucursales cercanas a tu ubicaci\xf3n"}),!s&&!l&&!e&&(o||w)&&(0,x.jsxs)(x.Fragment,{children:[i&&0===i.length&&"No se han encontrado sucursales disponibles en",i&&1===i.length&&"1 sucursal disponible",i&&i.length>1&&"".concat(i.length," sucursales disponibles")," ",(u||w).region," ",u&&"(".concat(u.number,")")]})]}),!s&&!l&&!e&&(0,x.jsx)(iW,{onClick:a,children:"Consultar otro c\xf3digo postal >"}),s&&(0,x.jsx)(iN,{formStatus:d,onSubmit:f,onSelectOption:p,isLoading:l,locationOptions:g,error:h,errorCodes:b})]})})};function iV(){var n=(0,h.Z)(["\n .title {\n font-weight: 600;\n width: 100%;\n }\n"]);return iV=function(){return n},n}function iU(){var n=(0,h.Z)(["\n cursor: pointer;\n height: 2.26em;\n"]);return iU=function(){return n},n}function iG(){var n=(0,h.Z)(["\n width: 100%;\n display: grid;\n grid-template-columns: 1fr 1fr;\n"]);return iG=function(){return n},n}function iQ(){var n=(0,h.Z)(["\n font-size: 16px;\n "]);return iQ=function(){return n},n}function iJ(){var n=(0,h.Z)(["\n font-size: 14px;\n font-weight: 600;\n line-height: 1.25;\n letter-spacing: -0.43px;\n color: #000000;\n padding-bottom: 7px;\n border-bottom: solid 4px transparent;\n\n ","\n"]);return iJ=function(){return n},n}function iK(){var n=(0,h.Z)(["\n width: 100%;\n font-size: 20px;\n letter-spacing: -0.44px;\n color: #000000;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: normal;\n margin-bottom: 15px;\n"]);return iK=function(){return n},n}var iY=z()(function(){return t.e(4166).then(t.bind(t,4166))},{loadableGenerated:{webpack:function(){return[4166]}}}),i0={closeCenters:"closeCenters",allCenters:"allCenters"},i1=(0,w.ZP)(iY).withConfig({componentId:"sc-b42b619e-0"})(iV()),i2=w.ZP.div.withConfig({componentId:"sc-b42b619e-1"})(iU()),i4=w.ZP.div.withConfig({componentId:"sc-b42b619e-2"})(iG()),i5=w.ZP.span.attrs(function(n){var e=n.active;return{style:{color:e?"#000000":"#4a4a4a",borderColor:e?"#440099":"transparent"}}}).withConfig({componentId:"sc-b42b619e-3"})(iJ(),$.BC.greaterThan("sm")(iQ())),i3=w.ZP.h1.withConfig({componentId:"sc-b42b619e-4"})(iK());function i6(n){var e=n.isOpen,t=n.closeModal,r=(n.product,(0,tO.Z)(n,["isOpen","closeModal","product"])),i=(0,C.useRouter)().query.productSlug,o=RegExp("^(?.+)-(?\\d+)?$").exec(i).groups.sku,a=(0,v.useState)(i0.closeCenters),c=a[0],s=a[1],l=(0,v.useCallback)(function(){return s(i0.closeCenters)},[]),u=(0,v.useCallback)(function(){return s(i0.allCenters)},[]);return(0,x.jsx)(ic,{sku:o,children:(0,x.jsxs)(i1,(0,k.Z)((0,g.Z)({"data-test-id":"product-modal-center",isOpen:e,title:(0,x.jsx)(i3,{children:"Retiro GRATIS en sucursal"}),menu:(0,x.jsxs)(i4,{children:[(0,x.jsx)(i2,{onClick:l,children:(0,x.jsx)(i5,{active:c===i0.closeCenters,children:"Sucursales cercanas"})}),(0,x.jsx)(i2,{onClick:u,children:(0,x.jsx)(i5,{active:c===i0.allCenters,children:"Todas las sucursales"})})]}),closeModal:t},r),{children:[c===i0.allCenters&&(0,x.jsx)(im,{sku:o}),c===i0.closeCenters&&(0,x.jsx)(i$,{})]}))})}var i8=t(41664),i7=t.n(i8);function i9(){return(i9=Object.assign?Object.assign.bind():function(n){for(var e=1;e");return(0,x.jsx)(oj.UQy,{withoutBorders:!0,activeKey:[],items:[{key:"1",header:{checkbox:(0,x.jsx)(oj.XZJ,{id:"checkbox",onChange:function(n){return t(n)},checked:e}),title:"Le\xed y acepto los T\xe9rminos y Condiciones"},content:(0,x.jsx)(as,{dangerouslySetInnerHTML:{__html:i}})},]})}function au(){var n=(0,h.Z)(["\n flex-direction: row;\n gap: 24px;\n "]);return au=function(){return n},n}function ad(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n ","\n"]);return ad=function(){return n},n}function af(){var n=(0,h.Z)(["\n padding: 32px;\n height: auto;\n margin-top: 0px;\n margin-bottom: 0px;\n justify-content: center;\n "]);return af=function(){return n},n}function ap(){var n=(0,h.Z)(["\n background-color: #fafaff;\n border-radius: 8px;\n padding: 16px;\n margin-top: 24px;\n gap: 8px;\n margin-bottom: 24px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n ","\n"]);return ap=function(){return n},n}function ag(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n gap: 12px;\n"]);return ag=function(){return n},n}function am(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n"]);return am=function(){return n},n}function ah(){var n=(0,h.Z)([""]);return ah=function(){return n},n}function ax(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column; \n gap: 24px; \n "]);return ax=function(){return n},n}function av(){var n=(0,h.Z)(["\n ","\n"]);return av=function(){return n},n}function ab(){var n=(0,h.Z)(["\n font-family: Roboto;\n font-size: 12px;\n font-weight: 400;\n line-height: 16px;\n letter-spacing: 0.02em;\n text-align: center;\n color: #65657e;\n"]);return ab=function(){return n},n}function aZ(){var n=(0,h.Z)(["\n margin-top: 0px;\n margin-bottom: 16px;\n font-family: Work Sans;\n font-size: 16px;\n font-weight: 600;\n line-height: 20px;\n color: #65657e;\n"]);return aZ=function(){return n},n}var aw=w.ZP.div.withConfig({componentId:"sc-afa259f0-0"})(ad(),$.BC.greaterThan("sm")(au())),ay=w.ZP.div.withConfig({componentId:"sc-afa259f0-1"})(ap(),$.BC.greaterThan("sm")(af())),aC=w.ZP.div.withConfig({componentId:"sc-afa259f0-2"})(ag()),aj=w.ZP.div.withConfig({componentId:"sc-afa259f0-3"})(am()),aP=w.ZP.div.withConfig({componentId:"sc-afa259f0-4"})(ah()),ak=w.ZP.div.withConfig({componentId:"sc-afa259f0-5"})(av(),$.BC.greaterThan("sm")(ax())),aI=w.ZP.p.withConfig({componentId:"sc-afa259f0-6"})(ab()),az=w.ZP.p.withConfig({componentId:"sc-afa259f0-7"})(aZ());function aT(n){var e=n.acceptedConditions,t=n.setAcceptedConditions,r=(0,eI.iq)(),i=r.questions,o=r.tradeIn,a=r.currentTradeOut,c=r.calculatedDiscount;return(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)(ak,{children:[(0,x.jsxs)(aw,{children:[(0,x.jsxs)(aP,{children:[(0,x.jsxs)(az,{children:["Tu producto: ",null==a?void 0:a.label]}),(0,x.jsx)(aC,{children:i.map(function(n,e){return(0,x.jsxs)(v.Fragment,{children:[(0,x.jsxs)(aj,{children:[(0,x.jsx)(oj.xen,{size:"m",children:n.title}),(0,x.jsx)(oj.xen,{size:"m",as:"span",children:n.answers[0].message})]}),(0,x.jsx)(oj.P4e,{xs:12,children:(0,x.jsx)(oj.izJ,{size:"s",style:{height:"1px"}})})]},"QABox".concat(e))})})]}),(0,x.jsxs)(ay,{children:[(0,x.jsx)(oj.xen,{size:"m",children:"Acced\xe9s a un descuento de"}),(0,x.jsxs)(oj.X6q,{size:"xl",children:[(0,y.numberAsPrice)(null==c?void 0:c.evaluateTradeOut.discount),"*"]}),(0,x.jsx)(aI,{children:"*El descuento definitivo puede diferir del estimado"})]})]}),(0,x.jsx)(oT,{}),(0,x.jsx)(al,{termsAndConditions:o.legals,acceptedConditions:e,onChange:function(n){return t(n)}})]})})}function aS(n){var e,t,r,i,o,a,c,s,l,u=n.isOpen,d=n.closeModal,f=(0,v.useRef)(null),p=function(){var n;null==f||null===(n=f.current)||void 0===n||n.scrollIntoView()},g=(r=(t=(0,eI.iq)()).reset,i=t.tradeOutSku,a=(o=(0,v.useState)(0))[0],c=o[1],s=function(){i?(c(0),d()):(c(0),r(),d())},l=function(){c(0),d()},{level:a,setLevel:c,closeAndReset:s,finalize:l}),m=g.level,h=g.setLevel,b=g.closeAndReset,Z=g.finalize,w=oD(p,h),y=w.onCalculate,C=w.loading,j=(0,v.useState)(!1),P=j[0],k=j[1];return(0,x.jsxs)(oj.u_l,{onClose:b,open:u,closeOnOverlayClick:!0,size:"m",ref:f,children:[(0,x.jsx)(oj.xBx,{title:"Plan Canje Samsung"}),(0,x.jsxs)(oj.fef,{children:[(0,x.jsx)("div",{ref:f}),0===m&&(0,x.jsx)(ar,{scrollToTop:p,setLevel:h}),1===m&&(0,x.jsx)(aT,{scrollToTop:p,closeModalFinal:Z,closeModal:b,setLevel:h,acceptedConditions:P,setAcceptedConditions:k})]}),(0,x.jsxs)(oj.mzw,{children:[0===m&&(0,x.jsx)(oH,{closeModal:b,loading:C,onCalculate:y,scrollToTop:p,setLevel:h}),1===m&&(0,x.jsx)(aa,{closeModal:d,acceptedConditions:P,setAcceptedConditions:k,scrollToTop:p,setLevel:h})]})]})}function aB(){var n=(0,h.Z)(["\n gap: 16px;\n display: flex;\n flex-direction: row;\n"]);return aB=function(){return n},n}var aE=w.ZP.div.withConfig({componentId:"sc-c0b6be07-0"})(aB()),aO=function(n){var e=n.openCalculateModal,t=n.openInfoModal,r=n.tradeOutSku;return(0,x.jsxs)(aE,{children:[(0,x.jsx)(oj.rUS,{children:(0,x.jsx)("button",{style:{padding:"0px"},onClick:function(){return e()},children:r?"Modificar":"Calcular ahorro"})}),(0,x.jsx)(oj.rUS,{children:(0,x.jsx)("button",{style:{padding:"0px"},onClick:function(){return t()},children:"Conocer m\xe1s"})})]})};function aA(){var n=(0,h.Z)(["\n display: grid;\n grid-template-columns: 40px 1fr;\n border-radius: 12px;\n border: none;\n background-color: #fff;\n align-items: start;\n"]);return aA=function(){return n},n}function aR(){var n=(0,h.Z)(["\n cursor: pointer;\n display: flex;\n align-items: flex-start;\n"]);return aR=function(){return n},n}function aq(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n gap: 4px;\n"]);return aq=function(){return n},n}function aF(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n"]);return aF=function(){return n},n}function aN(){var n=(0,h.Z)(["\n display: grid;\n grid-template-columns: 1fr auto;\n gap: 8px;\n"]);return aN=function(){return n},n}var aL=w.ZP.div.withConfig({componentId:"sc-38c0163d-0"})(aA()),aD=w.ZP.div.withConfig({componentId:"sc-38c0163d-1"})(aR()),aM=w.ZP.div.withConfig({componentId:"sc-38c0163d-2"})(aq()),a_=w.ZP.div.withConfig({componentId:"sc-38c0163d-3"})(aF()),aH=w.ZP.div.withConfig({componentId:"sc-38c0163d-4"})(aN());function aX(){var n=(0,v.useState)(!1),e=n[0],t=n[1],r=(0,v.useState)(!1),i=r[0],o=r[1],a=(0,eI.iq)(),c=a.selectedTradeOut,s=a.tradeOutSku,l=a.reset,u=a.selectedDiscount,d=a.salePrice,f=function(){t(!0)},p=function(){t(!1)},g=function(){o(!0)},m=function(){o(!1)};return(0,x.jsxs)("div",{style:{marginTop:"16px",marginBottom:"16px"},children:[(0,x.jsx)(oS,{isOpen:e,closeModal:p}),(0,x.jsx)(aS,{isOpen:i,closeModal:m}),(0,x.jsxs)(aL,{hasTradeOut:s,children:[(0,x.jsx)(oj.DuK,{size:"xl"}),s?(0,x.jsxs)(a_,{children:[(0,x.jsxs)(aM,{children:[(0,x.jsxs)(aH,{children:[(0,x.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,x.jsx)(oj.X6q,{size:"xs",children:null==c?void 0:c.label}),(0,x.jsxs)(oj.xen,{size:"m",children:["Ahorro estimado:"," ",(0,y.numberAsPrice)(null==u?void 0:u.evaluateTradeOut.discount)]})]}),(0,x.jsx)(aD,{onClick:l,children:(0,x.jsx)(oj.XHJ,{})})]}),(0,x.jsx)(oj.xen,{size:"m",color:"neutral",colorTone:"500",children:"Un asesor te contactar\xe1 para verificar el estado de tu equipo e iniciar el Plan Canje"})]}),(0,x.jsx)(aO,{openCalculateModal:g,openInfoModal:f,tradeOutSku:s})]}):(0,x.jsxs)(a_,{children:[(0,x.jsxs)(aM,{children:[(0,x.jsxs)(oj.X6q,{size:"xs",children:["Plan Canje Samsung: ahorr\xe1 hasta ",(0,y.numberAsPrice)(Math.round(.45*d))]}),(0,x.jsx)(oj.xen,{size:"m",color:"neutral",colorTone:"500",children:"Canje\xe1 tu producto usado y llevate uno nuevo con descuento"})]}),(0,x.jsx)(aO,{openCalculateModal:g,openInfoModal:f,tradeOutSku:s})]})]})]})}function aW(){var n=(0,h.Z)(["\n display: grid;\n grid-gap: 3px;\n"]);return aW=function(){return n},n}function a$(){var n=(0,h.Z)(["\n display: grid;\n"]);return a$=function(){return n},n}function aV(){var n=(0,h.Z)(["\n grid-template-columns: max-content auto;\n grid-gap: 6px;\n"]);return aV=function(){return n},n}function aU(){var n=(0,h.Z)(["\n display: grid;\n margin-bottom: 15px;\n"]);return aU=function(){return n},n}function aG(){var n=(0,h.Z)(["\n color: #1B873D;\n"]);return aG=function(){return n},n}function aQ(){var n=(0,h.Z)(["\n font-size: 17px;\n font-weight: 600;\n"]);return aQ=function(){return n},n}function aJ(){var n=(0,h.Z)(["\n font-weight: 600;\n font-size: 15px;\n"]);return aJ=function(){return n},n}function aK(){var n=(0,h.Z)(["\n font-size: 14px;\n letter-spacing: -0.28px;\n color: #3B3B4E;\n line-height: 24px;\n"]);return aK=function(){return n},n}var aY=w.ZP.div.withConfig({componentId:"sc-485d0977-0"})(aW()),a0=w.ZP.div.withConfig({componentId:"sc-485d0977-1"})(a$()),a1=(0,w.ZP)(aY).withConfig({componentId:"sc-485d0977-2"})(aV()),a2=w.ZP.div.withConfig({componentId:"sc-485d0977-3"})(aU()),a4=w.ZP.span.withConfig({componentId:"sc-485d0977-4"})(aG());w.ZP.b.withConfig({componentId:"sc-485d0977-5"})(aQ()),w.ZP.b.withConfig({componentId:"sc-485d0977-6"})(aJ());var a5=w.ZP.span.withConfig({componentId:"sc-485d0977-7"})(aK());function a3(){var n=(0,h.Z)(["\n 0% {\n background-position: 200% 0;\n }\n 100% {\n background-position: -200% 0;\n }\n"]);return a3=function(){return n},n}function a6(){var n=(0,h.Z)(["\n border-radius: 8px;\n background: linear-gradient(90deg, #f0f0fa 0%, #fff 30%, #f0f0fa 40%);\n background-size: 200% 100%;\n animation: "," 2s linear infinite;\n"]);return a6=function(){return n},n}function a8(){var n=(0,h.Z)(["\n width: 100%;\n height: 10px;\n margin-top: 5px;\n margin-bottom: 10px;\n"]);return a8=function(){return n},n}var a7=(0,w.F4)(a3()),a9=w.ZP.div.withConfig({componentId:"sc-49fec0ce-0"})(a6(),a7),cn=(0,w.ZP)(a9).withConfig({componentId:"sc-49fec0ce-1"})(a8());function ce(n){var e=n.price,t=(0,rq.Ew)(),r=t.favPlans,i=t.loading,o=(0,v.useMemo)(function(){return r&&(0,rR.Ax)(r.filter(rR.QP).sort(rR.gv).filter(rR.Ll))},[r]),a=(0,v.useMemo)(function(){return r&&(0,rR.Ax)(r.filter(rR.QP).sort(rR.gv).filter(rR.Pt))},[r]);return(0,x.jsx)("div",{children:(0,x.jsx)("div",{"data-test-id":"payment-tooltip",children:(0,x.jsx)("div",{className:"paddingContainer",children:(0,x.jsx)(a2,{children:i?(0,x.jsx)(cn,{}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{children:o&&Object.values(o).map(function(n,t){return 0===t?(0,x.jsx)(aY,{children:(0,x.jsx)(a5,{children:(0,x.jsxs)(a4,{children:[" ",n[0].installments.quantity," ","cuotas"," "," ","sin inter\xe9s de"," ",(0,y.numberAsPrice)(e*n[0].installments.factor)]})})},t):null})}),(0,x.jsx)("div",{children:a&&0===Object.keys(o).length?(0,x.jsx)(a1,{children:(0,x.jsx)(a0,{children:Object.values(a).map(function(n,t){return 0===t?(0,x.jsxs)(a5,{children:[n[0].installments.quantity," ","cuotas fijas de"," "," "," ",(0,y.numberAsPrice)(e*n[0].installments.factor)]},t):null})})}):null})]})})})})})}var ct=t(73359);function cr(){return(cr=Object.assign?Object.assign.bind():function(n){for(var e=1;e=5&&(0,x.jsx)(e6,{children:a})]})}),(0,x.jsx)(e5,{children:(0,y.numberAsPrice)(o)}),c&&(0,x.jsxs)(sx,{children:[ss.Q," ",(0,y.numberAsPrice)(c)]})]}):null,(0,x.jsxs)(eI.LD,{salePrice:o,tradeInData:V,children:[!U&&!G&&V&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(oj.izJ,{}),(0,x.jsx)(w.f6,{theme:oj.rSc,children:(0,x.jsx)(aX,{})})]}),"fravegasellerprd173"===P&&_&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(oj.izJ,{}),(0,x.jsx)(so,{})]}),_&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(oj.izJ,{}),(0,x.jsx)(r6,{price:o||i,arrowPosition:"50%",openPaymentsModal:T,sku:s})]}),(0,x.jsx)(e2,{}),_&&(t&&t.homeDelivery&&t.homeDelivery.availability||t&&t.pickup&&t.pickup.availability)&&(0,x.jsxs)(tn,{children:[(0,x.jsx)(rh,{id:1,homeDeliveryAvailability:p,geoHomeDeliveryAvailability:h,defaultGeoLocalization:K,labels:C}),(0,x.jsx)(rO,{id:2,title:"Retiro GRATIS en sucursal",link:"Ver sucursales",icon:"/static/commerce-icon.svg",hasLink:!0,openOfficesModal:Y,labels:t.pickup.labels,isAvailable:b,geoAvailability:Z})]}),(0,x.jsx)(e4,{}),(0,x.jsxs)(te,{children:[_&&z?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(sm,{"data-test-id":"price-wrapper",style:{flexDirection:"row",marginBottom:"5px"},children:[(0,x.jsx)(e5,{style:{fontWeight:500,fontSize:"24px"},children:(0,y.numberAsPrice)(o)}),!!i&&!!a&&(0,x.jsxs)(sg,{children:[(0,x.jsx)(e3,{children:(0,y.numberAsPrice)(i)}),a>=5&&(0,x.jsx)(e6,{children:a})]})]}),!A&&c&&(0,x.jsxs)(sx,{children:[ss.Q," ",(0,y.numberAsPrice)(c)]}),(0,x.jsx)(ce,{price:o||i,arrowPosition:"50%",openPaymentsModal:T,sku:s})]}):null,(0,x.jsxs)(to,{children:[(0,x.jsx)(ti,{sku:s,sellerId:P,disabled:!_,setBuyButtonAvailability:S,style:{borderRadius:"8px"},price:o||i,title:e,brandName:k,commercialName:u,categories:E}),(0,x.jsx)(cJ,{sku:s,sellerId:P,price:o||i,title:e,image:B,brandName:k,commercialName:u,categories:E,disabled:!_})]})]})]})]})]})},sb=t(57397);function sZ(){var n=(0,h.Z)(["\n padding-left:0px;\n padding-right:0px;\n "]);return sZ=function(){return n},n}function sw(){var n=(0,h.Z)(["\n display: inline-flex;\n text-align: left;\n align-items: center;\n /* background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0)); */\n width: 100%;\n padding-bottom: 30px;\n /* padding-left: 5%; */\n padding-top: 15px;\n /* grid-column-start: span 3; */\n box-sizing: border-box;\n margin-top: 3px;\n padding-left:15px;\n padding-right:15px;\n \n a {\n font-size: 13px;\n font-weight: ",";\n line-height: 1;\n letter-spacing: -0.46px;\n color: #4a4a4a;\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n ","\n\n "," {\n align-items: center;\n }\n"]);return sw=function(){return n},n}function sy(){var n=(0,h.Z)(["\n li {\n display: inline-flex;\n align-items: center;\n\n }\n"]);return sy=function(){return n},n}function sC(){var n=(0,h.Z)(["\n margin-left: 8px;\n margin-right: 8px;\n width: 5px;\n path {\n stroke: #ccc; \n }\n"]);return sC=function(){return n},n}var sj=w.ZP.div.withConfig({componentId:"sc-8071ec51-0"})(sw(),W.iD,$.BC.greaterThan("1360px")(sZ()),L.W2),sP=w.ZP.div.withConfig({componentId:"sc-8071ec51-1"})(sy()),sk=(0,w.ZP)(rb.Z).withConfig({componentId:"sc-8071ec51-2"})(sC()),sI=function(n){(0,nc.Z)(t,n);var e=(0,ns.Z)(t);function t(){return(0,ni.Z)(this,t),e.apply(this,arguments)}return(0,no.Z)(t,[{key:"render",value:function(){var n=this.props.categories,e=void 0===n?[]:n;return(0,x.jsx)(sj,{"data-test-id":"product-bread",children:(0,x.jsx)(L.W2,{children:(0,x.jsxs)("ol",{itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[(0,x.jsx)(sP,{children:(0,x.jsxs)("li",{itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",children:[(0,x.jsx)(i7(),{href:"/",passHref:!0,children:(0,x.jsx)("a",{itemProp:"item","data-event":"fvg.productDetail.click-breadcrumb",alt:"Fr\xe1vega",children:(0,x.jsx)("span",{itemProp:"name",children:"Fr\xe1vega"})})}),(0,x.jsx)("meta",{itemProp:"position",content:1}),e.length?(0,x.jsx)(sk,{}):null]})}),e.length?e.map(function(n,t){return(0,x.jsx)(sP,{children:(0,x.jsxs)("li",{itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",children:[(0,x.jsx)(i7(),{href:{pathname:"/l/[[...categorySlug]]",query:{categorias:n.slug}},as:"/l/".concat(n.slug,"/"),passHref:!0,children:(0,x.jsx)("a",{itemProp:"item","data-event":"fvg.productDetail.click-breadcrumb",children:(0,x.jsx)("span",{itemProp:"name",children:n.name})})}),(0,x.jsx)("meta",{itemProp:"position",content:e.length-t+1}),0!==t?(0,x.jsx)(sk,{}):null]})},n.id)}).reverse():null]})})})}}]),t}(v.PureComponent);(0,na.Z)(sI,"propTypes",{categories:nZ().arrayOf(Object).isRequired});var sz=(0,sb.Z)(sI),sT=function(n){var e=n.sku,t=function(){var n=document.querySelector("eyekandy-all-in-one"),e=document.querySelector("#eyekandy-script-tags-main"),t=document.querySelectorAll("eyekandy-legacy-controller"),r=document.querySelector("eyekandy-event-bus"),i=document.querySelector(".eyekandy-all-in-one-default-css");try{n&&n.remove(),e&&e.remove(),t&&t.forEach(function(n){n&&n.remove()}),r&&r.remove(),i&&i.remove()}catch(o){console.log("No existe RA element")}"object"==typeof intelJsCallbacks&&void 0!==window.intelJsCallbacks.reset&&window.intelJsCallbacks.reset()},r=(0,v.useRef)();return(0,v.useEffect)(function(){t();var n=document.querySelector("body"),r=document.createElement("script");return r.async=!0,r.id="eyekandy-script-tags-main",r.type="text/javascript",r.src="https://media.pointandplace.com/js/pointandplace.js",r.dataset.ekyDistributor="d219bd57-f1c1-4aaa-a38c-19d4b5089cc0",r.dataset.ekyLanguage="es",r.dataset.ekySku=e,n.appendChild(r),function(){n.removeChild(r)}},[e]),(0,x.jsx)("div",{ref:r})};function sS(){var n=(0,h.Z)(["\n display: grid;\n grid-gap: 3px;\n"]);return sS=function(){return n},n}function sB(){var n=(0,h.Z)(["\n display: grid;\n"]);return sB=function(){return n},n}function sE(){var n=(0,h.Z)(["\n grid-template-columns: max-content auto;\n grid-gap: 6px;\n"]);return sE=function(){return n},n}function sO(){var n=(0,h.Z)(["\n display: grid;\n"]);return sO=function(){return n},n}function sA(){var n=(0,h.Z)(["\n color: #1B873D;\n"]);return sA=function(){return n},n}function sR(){var n=(0,h.Z)(["\n font-size: 17px;\n font-weight: 600;\n"]);return sR=function(){return n},n}function sq(){var n=(0,h.Z)(["\n font-weight: 600;\n font-size: 15px;\n"]);return sq=function(){return n},n}function sF(){var n=(0,h.Z)(["\n font-size: 14px;\n letter-spacing: -0.28px;\n color: #3B3B4E;\n line-height: 24px;\n text-align: left;\n"]);return sF=function(){return n},n}var sN=w.ZP.div.withConfig({componentId:"sc-ec965f12-0"})(sS()),sL=w.ZP.div.withConfig({componentId:"sc-ec965f12-1"})(sB()),sD=(0,w.ZP)(sN).withConfig({componentId:"sc-ec965f12-2"})(sE()),sM=w.ZP.div.withConfig({componentId:"sc-ec965f12-3"})(sO()),s_=w.ZP.span.withConfig({componentId:"sc-ec965f12-4"})(sA());w.ZP.b.withConfig({componentId:"sc-ec965f12-5"})(sR()),w.ZP.b.withConfig({componentId:"sc-ec965f12-6"})(sq());var sH=w.ZP.span.withConfig({componentId:"sc-ec965f12-7"})(sF());function sX(n){var e=n.price,t=(0,rq.Ew)(),r=t.favPlans,i=t.loading,o=(0,v.useMemo)(function(){return r&&(0,rR.Ax)(r.filter(rR.QP).sort(rR.gv).filter(rR.Ll))},[r]),a=(0,v.useMemo)(function(){return r&&(0,rR.Ax)(r.filter(rR.QP).sort(rR.gv).filter(rR.Pt))},[r]);return(0,x.jsx)("div",{"data-test-id":"payment-tooltip",children:(0,x.jsx)("div",{className:"paddingContainer",children:(0,x.jsx)(sM,{children:i?(0,x.jsx)(cn,{}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{children:o&&Object.values(o).map(function(n,t){return 0===t?(0,x.jsx)(sN,{children:(0,x.jsx)(sH,{children:(0,x.jsxs)(s_,{children:[" ",n[0].installments.quantity," ","cuotas"," "," ","sin inter\xe9s de"," ",(0,y.numberAsPrice)(e*n[0].installments.factor)]})})},t):null})}),(0,x.jsx)("div",{children:a&&0===Object.keys(o).length?(0,x.jsx)(sD,{children:(0,x.jsx)(sL,{children:Object.values(a).map(function(n,t){return 0===t?(0,x.jsxs)(sH,{children:[n[0].installments.quantity," ","cuotas fijas de"," "," "," ",(0,y.numberAsPrice)(e*n[0].installments.factor)]},t):null})})}):null})]})})})})}function sW(){var n=(0,h.Z)(["\n display: flex;\n flex-wrap: wrap;\n"]);return sW=function(){return n},n}function s$(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: row;\n"]);return s$=function(){return n},n}function sV(){var n=(0,h.Z)(["\n height: 0;\n width: '4px'; \n"]);return sV=function(){return n},n}function sU(){var n=(0,h.Z)(["\n padding: 5px 15px;\n padding-right: 0px;\n margin: auto;\n width: 100%;\n max-width: 1280px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n"]);return sU=function(){return n},n}function sG(){var n=(0,h.Z)(["\n display: ",";\n top: 0px;\n scroll-snap-type: none;\n "]);return sG=function(){return n},n}function sQ(){var n=(0,h.Z)(["\n position: fixed;\n display: none;\n width: 100%;\n height: 80px;\n border-bottom: 1px solid #e1e0e7;\n background-color: white;\n z-index: 15;\n left: 0;\n overflow-x: scroll;\n scroll-snap-type: x mandatory;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n border-right: 16px solid white; // Ugly fix for Safari not respecting padding/margin/scroll-margin-right...\n \n &::-webkit-scrollbar {\n display: none;\n }\n \n ","\n"]);return sQ=function(){return n},n}function sJ(){var n=(0,h.Z)(["\n max-width: 50%;\n "]);return sJ=function(){return n},n}function sK(){var n=(0,h.Z)(["\n font-weight: 600;\n font-size: 20px;\n line-height: 28px;\n color: #242433;\n text-align: left;\n flex-grow: 1;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: 40%;\n ","\n"]);return sK=function(){return n},n}function sY(){var n=(0,h.Z)(["\n font-weight: 600;\n font-size: 20px;\n color: #242433;\n line-height: 28px;\n margin-right: 5px;\n "]);return sY=function(){return n},n}function s0(){var n=(0,h.Z)(["\n font-weight: 400;\n margin-right: 5px;\n font-size: 16px;\n line-height: 25px;\n color: #8D8DA6;\n text-decoration: line-through;\n"]);return s0=function(){return n},n}function s1(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n margin-right: 24px;\n"]);return s1=function(){return n},n}function s2(){var n=(0,h.Z)(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n"]);return s2=function(){return n},n}function s4(){var n=(0,h.Z)(["\n text-transform: none;\n padding: 16px 18px !important;\n border-radius: 8px;\n max-height: 48px;\n margin: 1px;\n font-weight: 600;\n font-size: 16px;\n width: 117px;\n"]);return s4=function(){return n},n}function s5(){var n=(0,h.Z)(["\n font-size: 12px;\n padding: 3px 8px;\n &:after {\n font-size: 12px;\n }\n"]);return s5=function(){return n},n}var s3=w.ZP.div.withConfig({componentId:"sc-128c8fc9-0"})(sW()),s6=w.ZP.div.withConfig({componentId:"sc-128c8fc9-1"})(s$()),s8=w.ZP.span.withConfig({componentId:"sc-128c8fc9-2"})(sV()),s7=w.ZP.div.withConfig({componentId:"sc-128c8fc9-3"})(sU()),s9=w.ZP.div.withConfig({componentId:"sc-128c8fc9-4"})(sQ(),$.BC.greaterThan("md")(sG(),function(n){return n.showSticky?"flex":"none"})),ln=w.ZP.h1.withConfig({componentId:"sc-128c8fc9-5"})(sK(),$.BC.greaterThan("lg")(sJ())),le=w.ZP.span.withConfig({componentId:"sc-128c8fc9-6"})(sY()),lt=w.ZP.span.withConfig({componentId:"sc-128c8fc9-7"})(s0()),lr=w.ZP.div.withConfig({componentId:"sc-128c8fc9-8"})(s1()),li=w.ZP.div.withConfig({componentId:"sc-128c8fc9-9"})(s2()),lo=(0,w.ZP)(eS.Z).attrs({"data-test-id":"product-buy-button"}).withConfig({componentId:"sc-128c8fc9-10"})(s4()),la=(0,w.ZP)(ez.sz).withConfig({componentId:"sc-128c8fc9-11"})(s5()),lc=function(n){var e=n.title,t=n.listPrice,r=n.salePrice,i=n.discount,o=n.sku,a=n.active,c=n.isAvailable,s=n.sellerId,l=n.openPaymentsModal,u=n.setBuyButtonAvailability,d=n.shouldShowSticky,f=n.image,p=n.brandName,g=n.commercialName,m=n.categories,h=a&&c;return(0,x.jsx)(s9,{"data-test-id":"purchase-info",showSticky:d,children:(0,x.jsxs)(s7,{className:"price-sticky",children:[e?(0,x.jsx)(ln,{"data-test-id":"product-title",children:e}):null,(0,x.jsxs)(li,{children:[h?(0,x.jsxs)(lr,{children:[(0,x.jsxs)(s6,{"data-test-id":"price-wrapper",children:[(0,x.jsx)(le,{children:(0,y.numberAsPrice)(r)}),t&&i?(0,x.jsxs)(s3,{children:[(0,x.jsx)(lt,{children:(0,y.numberAsPrice)(t)}),(0,x.jsx)(s8,{}),i>=5&&(0,x.jsx)(la,{children:i})]}):null]}),(0,x.jsx)(sX,{price:r||t,arrowPosition:"50%",openPaymentsModal:l,sku:o})]}):null,(0,x.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[(0,x.jsx)(cJ,{sku:o,sellerId:s,price:r||t,title:e,image:f,brandName:p,commercialName:g,categories:m,disabled:!h,customWidth:!0}),(0,x.jsx)(lo,{sku:o,sellerId:s,disabled:!h,setBuyButtonAvailability:u})]})]})]})})};function ls(){return(ls=Object.assign?Object.assign.bind():function(n){for(var e=1;e2?i(e.slice(0,2)):i(e),function(){i([])}},[]),(0,x.jsx)(lh,{"data-test-id":"product-bread",children:(0,x.jsxs)(L.W2,{children:[(0,x.jsx)(lb,{}),(0,x.jsx)("ol",{itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:r.length?r.map(function(n,e){return(0,x.jsx)(lx,{children:(0,x.jsxs)("li",{itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",children:[(0,x.jsx)(i7(),{href:{pathname:"/l/[[...categorySlug]]",query:{categorias:n.slug}},as:"/l/".concat(n.slug,"/"),passHref:!0,itemProp:"item","data-event":"fvg.productDetail.click-breadcrumb",children:(0,x.jsx)("a",{itemProp:"item","data-event":"fvg.productDetail.click-breadcrumb",children:(0,x.jsx)("span",{itemProp:"name",children:n.name})})}),(0,x.jsx)("meta",{itemProp:"position",content:r.length-e+1}),0!==e?(0,x.jsx)(lv,{}):null]})},n.id)}).reverse():null})]})})},lw=t(35739),ly=t(42046),lC=function(n){var e=n.isAvailable,t=n.slug,r=n.hasPostalCode,i=n.code,o=n.isRelatedProductsEnabled;return e?null:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(lw.vA,{children:(0,x.jsx)(lw.Wl,{categories:t,hasPostalCode:r})}),(void 0===o||o)&&(0,x.jsx)(ly.RelatedProducts,{},i)]})},lj=t(72396);function lP(){var n=(0,h.Z)(["\n width: 100px;\n "]);return lP=function(){return n},n}function lk(){var n=(0,h.Z)(["\n margin: ",";\n width: 27%;\n "]);return lk=function(){return n},n}function lI(){var n=(0,h.Z)(["\n \n ","\n\n /* Retina-specific */\n @media\n only screen and (-webkit-min-device-pixel-ratio: 2),\n only screen and ( min--moz-device-pixel-ratio: 2),\n only screen and ( -o-min-device-pixel-ratio: 2/1),\n only screen and ( min-device-pixel-ratio: 2),\n only screen and ( min-resolution: 192dpi),\n only screen and ( min-resolution: 2dppx) { \n width: 100px;\n }\n\n ","\n"]);return lI=function(){return n},n}var lz=(0,w.ZP)(lj.h).withConfig({componentId:"sc-7e89b80d-0"})(lI(),$.BC.greaterThan("xs")(lP()),$.BC.lessThan("xs")(lk(),W.Dy)),lT=function(n){var e=n.image,t=n.position,r=n.slug;return(0,x.jsx)(lj.s,{position:t,slug:r,children:(0,x.jsx)(lz,{position:t,src:(0,y.createImageUrl)(e,64)})})},lS=function(n){var e=n.cockades;return null==e?void 0:e.map(function(n){var e=n.image,t=n.position,r=n.slug;return(0,x.jsx)(lT,{"data-testid":"cucarda-cont",position:t,slug:r,image:e,key:e})})},lB=t(86589),lE=z()(function(){return Promise.all([t.e(6344),t.e(7904)]).then(t.bind(t,7904)).then(function(n){return n.PaymentsModal})},{loadableGenerated:{webpack:function(){return[7904]}}}),lO=z()(function(){return t.e(1449).then(t.bind(t,91449)).then(function(n){return n.TabsProps})},{loadableGenerated:{webpack:function(){return[91449]}}}),lA=z()(function(){return Promise.resolve().then(t.bind(t,42046)).then(function(n){return n.RelatedProducts})},{loadableGenerated:{webpack:function(){return[42046]}}});function lR(n){var e,t,r,i,o,a,c,s,l,u,d,f,p,h,b,w=n.product,C=n.postalCode,j=n.cookieId,P=(0,v.useRef)(),I=(0,v.useRef)(),z=E(P,"200px"),S=E(I,"200px"),O=Z()().publicRuntimeConfig.isRelatedProductsEnabled,A=(0,v.useRef)(),R=(0,v.useRef)(),q=E(A,"100px"),F=E(R,"100px"),M=(0,v.useRef)(),_=(0,T.Z)(M),H=(t=(e=(0,v.useState)(!0))[0],r=e[1],o=(i=(0,v.useState)(!1))[0],a=i[1],s=(c=(0,v.useState)())[0],l=c[1],d=(u=(0,v.useState)())[0],f=u[1],h=(p=(0,v.useState)())[0],b=p[1],{openPaymentsModal:function(n,e,t){(0,y.trackEvent)("fvg.productDetail.click-view-payment-methods"),l(e),f(t),b(n),a(!0)},onSelectBank:function(n){f(n)},onSelectMethod:function(n){l(n[1].systemId),b(n[0])},closePaymentsModal:function(){l(null),f(null),b(null),a(!1)},setBuyButtonAvailability:r,buyButtonAvailability:t,paymentsModalOpen:o,systemId:s,issuerId:d,systemName:h}),X=H.openPaymentsModal,W=H.onSelectBank,$=H.onSelectMethod,V=H.closePaymentsModal,U=H.buyButtonAvailability,G=H.paymentsModalOpen,Q=H.systemId,J=H.issuerId,K=H.systemName,Y=H.setBuyButtonAvailability,nn=w.code,ne=w.item,nt=ne.images,nr=ne.videos,ni=((0,m.Z)(w.netPricing,1)[0],(0,m.Z)(w.pricing,1))[0],no=w.categorization,na=(w.cockades,w.seller),nc=na.id;na.slug,na.commercialName;var ns=ni||{},nl=ns.listPrice,nu=ns.salePrice;ns.discount;var nd,nf,np,ng,nm,nh,nx,nv,nb,nZ,nw,ny,nC,nj,nP,nk,nI,nz,nT,nS,nB,nE,nO,nA,nR,nq,nF,nN,nL,nD,nM,n_,nH,nX,nW,n$=(0,lB.Px)(),nV={isOpen:G,close:V,onSelectMethod:$,onSelectBank:W,sku:nn,price:nu||nl,systemName:K,systemId:Q,issuerId:J},nU=(w.geoAvailability?w.geoAvailability.availability:w.stock.availability)&&U,nG={images:nt,videos:nr,isAvailable:nU},nQ=(nh=w.stock.homeDelivery.availability,nZ=(nb={homeDeliveryAvailability:nh,geoHomeDeliveryAvailability:nx=w.geoAvailability&&w.geoAvailability.homeDelivery.availability,pickupAvailability:nv=w.stock.pickup.availability,geoPickupAvailability:w.geoAvailability&&w.geoAvailability.pickup.availability}).homeDeliveryAvailability,nw=nb.geoHomeDeliveryAvailability,ny=nb.pickupAvailability,nC=nb.geoPickupAvailability,nj=w.code,nk=(nP=w.item).active,nI=nP.title,nz=nP.brand,nT=(0,m.Z)(w.pricing,1)[0],nS=(0,m.Z)(w.netPricing,1)[0],nB=w.categorization,nO=(nE=w.seller).id,nA=nE.slug,nR=nE.commercialName,nF=(nq=nT||{}).listPrice,nN=nq.salePrice,nL=nq.discount,nD=(nS||{}).listPrice,n_=(nM=nz||{}).name,nH=nM.image,nX=w.geoAvailability?w.geoAvailability:w.stock,nW=(null==nB?void 0:nB.length)>0?nB[0]:[],{isAvailable:nU,active:nk,title:nI,brandName:n_,brandImage:nH,listPrice:nF,slug:(0,cz.tj)(nW),salePrice:nN,discount:nL,netPrice:nD,sellerId:nO,sku:nj,sellerSlug:nA,commercialName:nR,stock:nX,homeDeliveryAvailability:nZ,geoHomeDeliveryAvailability:nw,pickupAvailability:ny,geoPickupAvailability:nC,labels:w.geoAvailability&&w.geoAvailability.labels,setBuyButtonAvailability:Y,openPaymentsModal:X}),nJ=(0,x.jsx)(lS,{cockades:null==w?void 0:w.cockades}),nK=(null==no?void 0:no.length)>0?no[0]:[],nY=(0,cz.tj)(nK),n0=(0,lB.od)(n$);return(0,x.jsxs)(lw.uv,{children:[(0,x.jsx)(D.ar,{}),(0,x.jsx)(sT,{sku:nn}),(0,x.jsx)(N,{sku:nn,sellerId:nc,children:(0,x.jsxs)(v.Fragment,{children:[(0,x.jsxs)(lw.ij,{children:[(0,x.jsx)(lZ,{categories:nK}),(0,x.jsx)(lE,(0,g.Z)({isMobile:!0},nV)),(0,x.jsx)(lC,{isRelatedProductsEnabled:O,isAvailable:nU,slug:nY,hasPostalCode:!!C,code:null==w?void 0:w.code}),(0,x.jsx)(ek,(0,g.Z)({isMobile:!0,cucardas:nJ},nG)),(0,x.jsx)(sv,(0,k.Z)((0,g.Z)({isMobile:!0},nQ),{image:nt[0],categories:nK})),(0,x.jsx)(B,{ref:P,children:z&&(0,x.jsx)(lA,{placementId:110,cookieId:j,categories:nK},null==w?void 0:w.code)})]}),(0,x.jsx)("br",{style:{display:"none"}}),(0,x.jsxs)(lw.Hi,{children:[(0,x.jsx)(lE,(0,g.Z)({},nV)),(0,x.jsx)(sz,{categories:nK}),(0,x.jsx)(lC,{isRelatedProductsEnabled:O,isAvailable:nU,slug:nY,hasPostalCode:!!C,code:null==w?void 0:w.code}),(0,x.jsx)(L.y1,{children:(0,x.jsxs)(lw.EZ,{children:[(0,x.jsx)(ek,(0,g.Z)({cucardas:nJ},nG)),(0,x.jsx)(sv,(0,k.Z)((0,g.Z)({},nQ),{image:nt[0],categories:nK})),(0,x.jsx)("span",{ref:M})]})}),(0,x.jsx)(B,{ref:A,children:q&&(0,x.jsx)(lA,{placementId:110,cookieId:j,categories:nK},null==w?void 0:w.code)})]}),(0,x.jsx)(lc,(0,k.Z)((0,g.Z)({},nQ),{shouldShowSticky:!_,image:nt[0],categories:nK})),(0,x.jsx)(lO,{product:w,isAvailable:nU}),(0,x.jsx)(lw.Hi,{children:(0,x.jsx)(B,{ref:R,children:F&&(0,x.jsx)(lA,{showcaseTitle:n0,placementId:n$,cookieId:j},null==w?void 0:w.code)})}),(0,x.jsx)(lw.ij,{children:(0,x.jsx)(B,{ref:I,children:S&&(0,x.jsx)(lA,{showcaseTitle:n0,placementId:n$,cookieId:j},null==w?void 0:w.code)})})]})})]})}function lq(){var n=(0,h.Z)(["\n display: flex;\n align-content: center;\n margin-left: auto;\n margin-right: auto;\n width: 100vw;\n height: 80vh;\n"]);return lq=function(){return n},n}t(73935),w.ZP.div.withConfig({componentId:"sc-f8c80d7f-0"})(lq());var lF=t(87836);function lN(){var n=(0,h.Z)(["\n text-align: center;\n padding: 100px 80px;\n display: block;\n justify-content: flex-start;\n align-items: flex-start;\n flex-direction: column;\n font-size: 24px;\n\n div {\n display: block;\n }\n @media (min-width: 1025px) {\n padding: 200px;\n max-width: 1208px;\n margin: auto;\n }\n"]);return lN=function(){return n},n}var lL=w.ZP.div.withConfig({componentId:"sc-d7859176-0"})(lN());function lD(){var n=(0,h.Z)(["\n width: 2.5em;\n color: #440099;\n"]);return lD=function(){return n},n}var lM=(0,w.ZP)(lF.Z).withConfig({componentId:"sc-84614dda-0"})(lD()),l_=function(n){var e=n.error,t=n.path;return(0,v.useEffect)(function(){(0,y.trackEvent)("fvg.error",{error:e,path:t})}),(0,x.jsxs)(lL,{children:[(0,x.jsx)("div",{children:(0,x.jsx)(lM,{})}),(0,x.jsx)("div",{children:e})]})};function lH(){return(lH=Object.assign?Object.assign.bind():function(n){for(var e=1;e=166?"".concat(n.slice(0,147),"..."):n}var l1=t(48548);function l2(){var n=(0,h.Z)(["\n width: 80px;\n height: 80px;\n padding: 16px;\n border-radius: 1000px;\n background: var(--colors-primary-violet-violet-200, #EAE5FF);\n"]);return l2=function(){return n},n}function l4(){var n=(0,h.Z)(["\n display: flex;\n width: 320px;\n min-width: 320px;\n flex-direction: column;\n align-items: center;\n gap: 16px;\n padding: 10px;\n flex-shrink: 0;\n "]);return l4=function(){return n},n}function l5(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 450px;\n max-width: 450px;\n\n ","\n"]);return l5=function(){return n},n}function l3(){var n=(0,h.Z)(["\n margin-top: 16px;\n margin-bottom: 24px;\n "]);return l3=function(){return n},n}function l6(){var n=(0,h.Z)(["\n display: flex;\n flex-direction: column;\n margin-top: 24px;\n margin-bottom: 24px;\n\n ","\n"]);return l6=function(){return n},n}function l8(){var n=(0,h.Z)(["\n padding: 64px 0;\n margin: auto;\n "]);return l8=function(){return n},n}function l7(){var n=(0,h.Z)(["\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 32px 24px;\n position: relative;\n background-color: var(--colors-neutral-neutral-100, #FAFAFF);\n\n ","\n\n"]);return l7=function(){return n},n}function l9(){var n=(0,h.Z)(["\n font-size: 20px;\n font-style: normal;\n line-height: 28px;\n "]);return l9=function(){return n},n}function un(){var n=(0,h.Z)(["\n color: var(--colors-neutral-neutral-600, #3B3B4E);\n text-align: center;\n\n font-size: 24px;\n font-style: normal;\n font-weight: 600;\n line-height: 32px;\n\n ","\n"]);return un=function(){return n},n}function ue(){var n=(0,h.Z)(["\n font-size: 14px;\n line-height: 20px;\n letter-spacing: 0.14px;\n "]);return ue=function(){return n},n}function ut(){var n=(0,h.Z)(["\n display: flex;\n\n color: var(--colors-neutral-neutral-500, #65657E);\n text-align: center;\n\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n letter-spacing: 0.08px;\n\n ","\n\n a {\n text-decoration: underline;\n color: var(--colors-semantic-blue-blue-400, #0D6EFF);\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n letter-spacing: 0.08px;\n }\n"]);return ut=function(){return n},n}function ur(){var n=(0,h.Z)(["\n width: -webkit-fill-available;\n height: auto;\n padding: 16px 24px;\n gap: 4px;\n flex: 1 0 0;\n "]);return ur=function(){return n},n}function ui(){var n=(0,h.Z)(["\n display: flex;\n padding: 8px 16px;\n justify-content: center;\n align-items: center;\n gap: 4px;\n border-radius: 8px;\n background: var(--colors-primary-violet-violet-400, #7447CC);\n border-style: none;\n\n color: var(--colors-neutral-white, #FFF);\n text-align: center;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px;\n\n "," \n"]);return ui=function(){return n},n}var uo=(0,w.ZP)(l1.Z).attrs({"data-testid":"not-found-image"}).withConfig({componentId:"sc-b53dde45-0"})(l2()),ua=w.ZP.div.withConfig({componentId:"sc-b53dde45-1"})(l5(),$.BC.lessThan("xs")(l4())),uc=w.ZP.div.withConfig({componentId:"sc-b53dde45-2"})(l6(),$.BC.lessThan("xs")(l3())),us=w.ZP.section.withConfig({componentId:"sc-b53dde45-3"})(l7(),$.BC.greaterThan("md")(l8())),ul=w.ZP.div.withConfig({componentId:"sc-b53dde45-4"})(un(),$.BC.lessThan("xs")(l9())),uu=w.ZP.div.withConfig({componentId:"sc-b53dde45-5"})(ut(),$.BC.lessThan("sm")(ue())),ud=w.ZP.button.withConfig({componentId:"sc-b53dde45-6"})(ui(),$.BC.lessThan("xs")(ur())),uf=function(){return(0,x.jsx)(us,{children:(0,x.jsxs)(ua,{children:[(0,x.jsx)(uo,{}),(0,x.jsxs)(uc,{children:[(0,x.jsx)(ul,{children:"La p\xe1gina no existe"}),(0,x.jsx)(uu,{children:"Naveg\xe1 por las categor\xedas y descubr\xed todos los productos que tenemos para vos."})]}),(0,x.jsx)(i7(),{href:"/",passHref:!0,children:(0,x.jsx)(ud,{as:"a",children:"Descubrir productos"})})]})})};function up(){var n=(0,h.Z)(["\n display: none;\n "]);return up=function(){return n},n}function ug(){var n=(0,h.Z)(["\n position:relative;\n display:flex;\n flex-direction:row;\n padding:25px;\n margin:auto;\n background-color: #fff;\n justify-content: center;\n\n ","\n"]);return ug=function(){return n},n}function um(){var n=(0,h.Z)(["\n display: none;\n "]);return um=function(){return n},n}function uh(){var n=(0,h.Z)(["\n position:relative;\n display:flex;\n flex-direction:row;\n padding:25px;\n margin:auto;\n background-color: #fff;\n justify-content: center;\n\n ","\n"]);return uh=function(){return n},n}function ux(){var n=(0,h.Z)(["\n display:none;\n "]);return ux=function(){return n},n}function uv(){var n=(0,h.Z)(["\nmargin: 10px 40px -10px 40px;\nwidth: fit-content;\nz-index: 10;\n\n","\n"]);return uv=function(){return n},n}function ub(){var n=(0,h.Z)(["\n display:none;\n "]);return ub=function(){return n},n}function uZ(){var n=(0,h.Z)(["\nmargin: 10px auto -10px auto;\nwidth: fit-content;\n\n","\n\n"]);return uZ=function(){return n},n}var uw=w.ZP.div.withConfig({componentId:"sc-504bc555-0"})(ug(),$.BC.lessThan("sm")(up())),uy=w.ZP.div.withConfig({componentId:"sc-504bc555-1"})(uh(),$.BC.greaterThan("sm")(um())),uC=w.ZP.div.withConfig({componentId:"sc-504bc555-2"})(uv(),$.BC.lessThan("sm")(ux())),uj=w.ZP.div.withConfig({componentId:"sc-504bc555-3"})(uZ(),$.BC.greaterThan("sm")(ub()));function uP(){return(0,x.jsx)(uw,{children:(0,x.jsx)(uC,{children:(0,x.jsx)("div",{className:"ad-slot-billboard",id:"ad-slot-dsk-billboard_bottom"})})})}function uk(){return(0,x.jsx)(uy,{children:(0,x.jsx)(uj,{children:(0,x.jsx)("div",{className:"ad-slot-bigbox",id:"ad-slot-mob-bigbox_bottom"})})})}var uI=t(58972),uz=t(41813);function uT(){var n=(0,h.Z)(["\n height: 100vh;\n"]);return uT=function(){return n},n}function uS(){var n=(0,h.Z)(["\n * {\n box-sizing: border-box;\n min-height: 0;\n min-width: 0;\n }\n"]);return uS=function(){return n},n}function uB(){var n=(0,h.Z)(["\n height: 90px;\n background-color: #fff;\n @media (min-width: 1024px) {\n display: none;\n }\n"]);return uB=function(){return n},n}var uE=w.ZP.div.withConfig({componentId:"sc-45302091-0"})(uT()),uO=w.ZP.div.withConfig({componentId:"sc-45302091-1"})(uS()),uA=w.ZP.div.withConfig({componentId:"sc-45302091-2"})(uB()),uR=!0,uq=function(n){var e,t=n.resolvedUrl,r=n.quanticId,i=Z()().publicRuntimeConfig.isRelatedProductsEnabled,o="https://www.fravega.com".concat(new URL(t,"http://example.com").pathname),a=(0,rq.ZP)(),c=a.product,s=a.loading,l=a.error,u=a.isPreviousSku,d=(0,uz.Z)();(0,v.useEffect)(function(){(!c.netPricing||Array.isArray(c.netPricing)&&0===c.netPricing.length)&&(console.warn("SKU SIN PRECIO SIN IMPUESTOS",null==c?void 0:c.code),d.push("/404"))},[c,s,l]);var f,p,h,b,w,k,I,z,T,S,B,E,O,A,R,q=(0,uI.Z)({isRelatedProductsEnabled:i,placementId:110,cookieId:r}),F=q.suggestedItems,N=q.loading,L=(0,m.Z)((0,j.rP)(),1)[0],D=(0,m.Z)((0,j.Xm)(),1)[0],M=(L||D)&&(null===(e=L||D)||void 0===e?void 0:e.id),_=(0,C.useRouter)(),H=_.asPath,X=_.replace,W=(0,m.Z)((0,j.rS)(),1)[0],$=Z()().publicRuntimeConfig.isPreheaderEnabled,V=(T=null!==(k=null==c?void 0:null===(p=c.item)||void 0===p?void 0:null===(h=p.seoDescription)||void 0===h?void 0:h.replace(/<\/?[\w\s="/.':;#-\/\?]+>/gi,""))&&void 0!==k?k:"",S=null!==(I=l0(T))&&void 0!==I?I:"",B=null!==(z=(0,lK.Z)(null==c?void 0:null===(b=c.item)||void 0===b?void 0:null===(w=b.descriptions)||void 0===w?void 0:w.map(function(n){return"".concat(n.name,": ").concat(n.value)}).join(" "),{allowedTags:[]}))&&void 0!==z?z:"",E=l0(B),{seoDescription:T,limitedSeoDescription:S,formattedDescription:B,limitedDescription:E}),U=V.limitedSeoDescription,G=V.limitedDescription,Q=c&&(null==c?void 0:c.geoAvailability)?null==c?void 0:null===(A=c.geoAvailability)||void 0===A?void 0:A.availability:null==c?void 0:null===(R=c.stock)||void 0===R?void 0:R.availability;(0,v.useEffect)(function(){if((null==c?void 0:null===(n=c.item)||void 0===n?void 0:n.slug)&&Z()().publicRuntimeConfig.enableProductDetailsSlugRedirect){var n,e=new URL(H,"http://example.com/"),t="/p/".concat(c.item.slug,"-").concat(c.code,"/").concat(e.search).concat(e.hash);H!==t&&X(H,t,{shallow:!0})}},[]),(0,v.useEffect)(function(){var n;(null==c?void 0:null===(n=c.item)||void 0===n?void 0:n.slug)&&(N||W(Q?"fvg.productDetail":"fvg.productDetail.unavailable",{product:c,payload:{vitrina_1:F},location:L&&L.id}))},[null==c?void 0:c.code,L,N]);var J={title:null==c?void 0:c.item.title,description:G,canonical:o,openGraph:{title:null==c?void 0:c.item.title,description:U,url:o,images:null==c?void 0:c.item.images.map(function(n,e){return{url:(0,y.createImageUrl)(n,1e3),width:1e3,height:1e3,alt:"".concat(c.item.title," ").concat(e+1)}}).slice(0,1)}};return s&&!u?(0,x.jsxs)(uO,{children:[(0,x.jsx)(j.h4,{context:"product-details",isPreheaderEnabled:$}),(0,x.jsx)(uE,{}),(0,x.jsx)(j.$_,{context:"product-details"})]}):c?l?(0,x.jsxs)(uO,{children:[(0,x.jsx)(j.h4,{context:"product-details",isPreheaderEnabled:$}),(0,x.jsx)(l_,{error:"No se encontr\xf3 el producto"}),(0,x.jsx)(j.$_,{context:"product-details"})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(P.PB,(0,g.Z)({},J)),(0,x.jsx)(j.h4,{context:"product-details",isPreheaderEnabled:$}),Q&&(0,x.jsx)(lY,{product:c,url:t}),(0,x.jsx)(lR,{product:c,postalCode:M,cookieId:r}),(0,x.jsx)(uP,{}),(0,x.jsx)(uk,{}),(0,x.jsx)(j.$_,{context:"product-details"}),(0,x.jsx)(uA,{})]}):(0,x.jsxs)(uO,{children:[(0,x.jsx)(j.h4,{context:"product-details",isPreheaderEnabled:$}),(0,x.jsx)(uf,{}),(0,x.jsx)(j.$_,{context:"product-details"})]})}},95474:function(n,e,t){"use strict";t.d(e,{k:function(){return l}});var r,i=t(47568),o=t(97582),a=t(87066),c=t(11752),s=t.n(c)()().publicRuntimeConfig.apiRestShopping,l=(r=(0,i.Z)(function(n){var e,t,r,i,c,l,u,d,f;return(0,o.__generator)(this,function(o){switch(o.label){case 0:return t=void 0===(e=n.skus)?[""]:e,i=void 0===(r=n.cookieId)?"":r,l=void 0===(c=n.placementId)?26:c,d=void 0===(u=n.postalCode)?"":u,[4,a.Z.post("".concat(s,"/custom-showcase/with-variant-id"),{skus:t,cookieId:i,postalCode:d,placementId:l})];case 1:return[2,o.sent().data]}})}),function(n){return r.apply(this,arguments)})},90788:function(n,e,t){"use strict";t.r(e),t.d(e,{BodyOverflow:function(){return w},Ellipsis:function(){return Z},Global:function(){return y},animations:function(){return b},color:function(){return m},fontFamily:function(){return h},fontSize:function(){return x},fontWeight:function(){return v},media:function(){return g}});var r=t(7297),i=t(29815),o=t(57833);function a(){var n=(0,r.Z)(["\n @media (min-width: ","em) {\n ","\n }\n "]);return a=function(){return n},n}function c(){var n=(0,r.Z)(['\n font-family: "Work Sans", sans-serif;\n']);return c=function(){return n},n}function s(){var n=(0,r.Z)(["\n from {\n right: -100vw;\n transform: translateX(100vw);\n opacity: 0;\n }\n\n to {\n right: 0vw;\n transform: translateX(0vw);\n opacity: 1;\n }\n "]);return s=function(){return n},n}function l(){var n=(0,r.Z)(["\n from {\n right: 0vw;\n transform: translateX(0vw);\n opacity: 1;\n }\n\n to {\n right: -100vw;\n transform: translateX(100vw);\n opacity: 0;\n }\n"]);return l=function(){return n},n}function u(){var n=(0,r.Z)(["\n text-overflow: ellipsis;\n max-width: 100%;\n overflow: hidden;\n white-space: nowrap;\n"]);return u=function(){return n},n}function d(){var n=(0,r.Z)(["\n body {\n overflow: hidden;\n }\n"]);return d=function(){return n},n}function f(){var n=(0,r.Z)(["\n *{\n box-sizing: border-box;\n }\n body {\n min-height: calc(100vh + 2px);\n }\n\n .modalTopContainer {\n overflow: unset !important;\n }\n\n .brandFilter-modal-mobile {\n width: 100%;\n min-height: 100vh;\n padding: 0;\n background-color: white;\n }\n"]);return f=function(){return n},n}var p={desktop:992},g=Object.keys(p).reduce(function(n,e){return n[e]=function(){for(var n=arguments.length,t=Array(n),r=0;r